Mercurial > hg > truffle
diff 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 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalVMEntries.cpp Thu Nov 17 18:02:12 2011 +0100 +++ b/src/share/vm/graal/graalVMEntries.cpp Thu Nov 17 18:33:33 2011 +0100 @@ -236,6 +236,7 @@ if (method_data == NULL || !method_data->is_mature()) { return NULL; } + ResourceMark rm; ProfileData* data = method_data->bci_to_data(bci); if (data != NULL && data->is_ReceiverTypeData()) { ReceiverTypeData* recv = data->as_ReceiverTypeData();