Mercurial > hg > truffle
comparison src/share/vm/graal/graalEnv.cpp @ 7068:263bc2349f15
removed high-level interpreter code from HotSpot
fixed VS2010 warnings and javac issues
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Fri, 23 Nov 2012 14:08:03 +0100 |
parents | bf2ea3ed3bce |
children | e5ec98288b91 |
comparison
equal
deleted
inserted
replaced
7067:7ead04aea1e4 | 7068:263bc2349f15 |
---|---|
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(), THREAD); | 180 MutexLockerEx ml(cpool->lock()); |
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. |