comparison 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
comparison
equal deleted inserted replaced
19425:b6d8deed3fd5 19426:dd8989d5547f
131 // Is this thread currently in the VM state? 131 // Is this thread currently in the VM state?
132 static bool is_in_vm(); 132 static bool is_in_vm();
133 133
134 // Helper routine for determining the validity of a compilation 134 // Helper routine for determining the validity of a compilation
135 // with respect to concurrent class loading. 135 // with respect to concurrent class loading.
136 static bool check_for_system_dictionary_modification(Dependencies* target, GraalEnv* env); 136 static bool check_for_system_dictionary_modification(Dependencies* target, Handle compiled_code, GraalEnv* env, TRAPS);
137 137
138 public: 138 public:
139 CompileTask* task() { return _task; } 139 CompileTask* task() { return _task; }
140 140
141 // Register the result of a compilation. 141 // Register the result of a compilation.
154 Dependencies* dependencies, 154 Dependencies* dependencies,
155 GraalEnv* env, 155 GraalEnv* env,
156 int compile_id, 156 int compile_id,
157 bool has_unsafe_access, 157 bool has_unsafe_access,
158 Handle installed_code, 158 Handle installed_code,
159 Handle compiled_code,
159 Handle speculation_log); 160 Handle speculation_log);
160 161
161 // converts the Klass* representing the holder of a method into a 162 // converts the Klass* representing the holder of a method into a
162 // InstanceKlass*. This is needed since the holder of a method in 163 // InstanceKlass*. This is needed since the holder of a method in
163 // the bytecodes could be an array type. Basically this converts 164 // the bytecodes could be an array type. Basically this converts