equal
deleted
inserted
replaced
202 _jvmti_can_post_on_exceptions = false; |
202 _jvmti_can_post_on_exceptions = false; |
203 _jvmti_can_pop_frame = false; |
203 _jvmti_can_pop_frame = false; |
204 } |
204 } |
205 |
205 |
206 ciEnv::~ciEnv() { |
206 ciEnv::~ciEnv() { |
207 CompilerThread* current_thread = CompilerThread::current(); |
207 GUARDED_VM_ENTRY( |
208 _factory->remove_symbols(); |
208 CompilerThread* current_thread = CompilerThread::current(); |
209 // Need safepoint to clear the env on the thread. RedefineClasses might |
209 _factory->remove_symbols(); |
210 // be reading it. |
210 // Need safepoint to clear the env on the thread. RedefineClasses might |
211 GUARDED_VM_ENTRY(current_thread->set_env(NULL);) |
211 // be reading it. |
|
212 current_thread->set_env(NULL); |
|
213 ) |
212 } |
214 } |
213 |
215 |
214 // ------------------------------------------------------------------ |
216 // ------------------------------------------------------------------ |
215 // Cache Jvmti state |
217 // Cache Jvmti state |
216 void ciEnv::cache_jvmti_state() { |
218 void ciEnv::cache_jvmti_state() { |