< prev index next >
src/hotspot/share/prims/jvmtiCodeBlobEvents.cpp
Print this page
*** 251,261 ****
jvmtiAddrLocationMap* map = NULL;
jint map_length = 0;
// Generate line numbers using PcDesc and ScopeDesc info
! methodHandle mh(nm->method());
if (!mh->is_native()) {
PcDesc *pcd;
int pcds_in_method;
--- 251,261 ----
jvmtiAddrLocationMap* map = NULL;
jint map_length = 0;
// Generate line numbers using PcDesc and ScopeDesc info
! methodHandle mh(Thread::current(), nm->method());
if (!mh->is_native()) {
PcDesc *pcd;
int pcds_in_method;
< prev index next >