Mercurial > hg > graal-jvmci-8
comparison src/share/vm/graal/graalEnv.cpp @ 7069:e5ec98288b91
minor changes
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Mon, 26 Nov 2012 10:51:39 +0100 |
parents | 263bc2349f15 |
children | af30115c9d0e |
comparison
equal
deleted
inserted
replaced
7068:263bc2349f15 | 7069:e5ec98288b91 |
---|---|
175 // The klass has not been inserted into the constant pool. | 175 // The klass has not been inserted into the constant pool. |
176 // Try to look it up by name. | 176 // Try to look it up by name. |
177 { | 177 { |
178 // We have to lock the cpool to keep the oop from being resolved | 178 // We have to lock the cpool to keep the oop from being resolved |
179 // while we are accessing it. | 179 // while we are accessing it. |
180 MutexLockerEx ml(cpool->lock()); | 180 MutexLockerEx ml(cpool->lock(), Mutex::_no_safepoint_check_flag); |
181 | 181 |
182 constantTag tag = cpool->tag_at(index); | 182 constantTag tag = cpool->tag_at(index); |
183 if (tag.is_klass()) { | 183 if (tag.is_klass()) { |
184 // The klass has been inserted into the constant pool | 184 // The klass has been inserted into the constant pool |
185 // very recently. | 185 // very recently. |