Mercurial > hg > graal-jvmci-8
comparison src/share/vm/ci/ciEnv.cpp @ 3669:53636e2c9d03
No longer use shared ciFactory. Remove make_global usage in code installer.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Fri, 18 Nov 2011 14:14:37 +0100 |
parents | c7d4198a9bce |
children | 7958ebb561b0 |
comparison
equal
deleted
inserted
replaced
3668:46f211fe010c | 3669:53636e2c9d03 |
---|---|
199 _the_null_string = NULL; | 199 _the_null_string = NULL; |
200 _the_min_jint_string = NULL; | 200 _the_min_jint_string = NULL; |
201 } | 201 } |
202 | 202 |
203 ciEnv::~ciEnv() { | 203 ciEnv::~ciEnv() { |
204 _factory->cleanup(); | |
205 JavaThread* current_thread = JavaThread::current(); | |
206 _factory->remove_symbols(); | 204 _factory->remove_symbols(); |
207 //current_thread->set_env(NULL); | 205 JavaThread::current()->set_env(NULL); |
208 } | 206 } |
209 | 207 |
210 // ------------------------------------------------------------------ | 208 // ------------------------------------------------------------------ |
211 // Cache Jvmti state | 209 // Cache Jvmti state |
212 void ciEnv::cache_jvmti_state() { | 210 void ciEnv::cache_jvmti_state() { |