diff src/share/vm/graal/graalEnv.hpp @ 19426:dd8989d5547f

provide more detail when Graal code installation fails due to a failed dependency check
author Doug Simon <doug.simon@oracle.com>
date Tue, 17 Feb 2015 14:49:05 +0100
parents 98592ae4b1fa
children fb38e004503c
line wrap: on
line diff
--- a/src/share/vm/graal/graalEnv.hpp	Tue Feb 17 14:07:13 2015 +0100
+++ b/src/share/vm/graal/graalEnv.hpp	Tue Feb 17 14:49:05 2015 +0100
@@ -133,7 +133,7 @@
 
   // Helper routine for determining the validity of a compilation
   // with respect to concurrent class loading.
-  static bool check_for_system_dictionary_modification(Dependencies* target, GraalEnv* env);
+  static bool check_for_system_dictionary_modification(Dependencies* target, Handle compiled_code, GraalEnv* env, TRAPS);
 
 public:
   CompileTask* task() { return _task; }
@@ -156,6 +156,7 @@
                        int                       compile_id,
                        bool                      has_unsafe_access,
                        Handle                    installed_code,
+                       Handle                    compiled_code,
                        Handle                    speculation_log);
 
   // converts the Klass* representing the holder of a method into a