diff src/share/vm/graal/graalEnv.hpp @ 19766:29916dcee0b8

Verify dependencies when assertions are enabled
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Tue, 10 Mar 2015 22:18:53 -0700
parents fb38e004503c
children
line wrap: on
line diff
--- a/src/share/vm/graal/graalEnv.hpp	Tue Mar 10 22:15:39 2015 -0700
+++ b/src/share/vm/graal/graalEnv.hpp	Tue Mar 10 22:18:53 2015 -0700
@@ -61,6 +61,7 @@
   enum CodeInstallResult {
      ok,
      dependencies_failed,
+     dependencies_invalid,
      cache_full,
      code_too_large
   };
@@ -133,7 +134,8 @@
 
   // Helper routine for determining the validity of a compilation
   // with respect to concurrent class loading.
-  static bool check_for_system_dictionary_modification(Dependencies* target, Handle compiled_code, GraalEnv* env, char** failure_detail);
+  static GraalEnv::CodeInstallResult check_for_system_dictionary_modification(Dependencies* target, Handle compiled_code,
+                                                                              GraalEnv* env, char** failure_detail);
 
 public:
   CompileTask* task() { return _task; }