Mercurial > hg > graal-compiler
comparison src/share/vm/graal/graalVMEntries.cpp @ 3663:8c46cdb684d4
Fixed another possible safepoint in the code installer.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Thu, 17 Nov 2011 18:33:33 +0100 |
parents | e0bbc6b1c4a1 |
children | e755289380e3 5c8fc9f05960 |
comparison
equal
deleted
inserted
replaced
3662:e0bbc6b1c4a1 | 3663:8c46cdb684d4 |
---|---|
234 methodHandle method = getMethodFromHotSpotMethod(hotspot_method); | 234 methodHandle method = getMethodFromHotSpotMethod(hotspot_method); |
235 methodDataHandle method_data = method->method_data(); | 235 methodDataHandle method_data = method->method_data(); |
236 if (method_data == NULL || !method_data->is_mature()) { | 236 if (method_data == NULL || !method_data->is_mature()) { |
237 return NULL; | 237 return NULL; |
238 } | 238 } |
239 ResourceMark rm; | |
239 ProfileData* data = method_data->bci_to_data(bci); | 240 ProfileData* data = method_data->bci_to_data(bci); |
240 if (data != NULL && data->is_ReceiverTypeData()) { | 241 if (data != NULL && data->is_ReceiverTypeData()) { |
241 ReceiverTypeData* recv = data->as_ReceiverTypeData(); | 242 ReceiverTypeData* recv = data->as_ReceiverTypeData(); |
242 GrowableArray<KlassHandle> receivers; | 243 GrowableArray<KlassHandle> receivers; |
243 GrowableArray<int> counts; | 244 GrowableArray<int> counts; |