src/hotspot/share/prims/jvmtiCodeBlobEvents.cpp
changeset 59056 15936b142f86
parent 54623 1126f0607c70
equal deleted inserted replaced
59055:57ad70bcf06c 59056:15936b142f86
   251   jvmtiAddrLocationMap* map = NULL;
   251   jvmtiAddrLocationMap* map = NULL;
   252   jint map_length = 0;
   252   jint map_length = 0;
   253 
   253 
   254 
   254 
   255   // Generate line numbers using PcDesc and ScopeDesc info
   255   // Generate line numbers using PcDesc and ScopeDesc info
   256   methodHandle mh(nm->method());
   256   methodHandle mh(Thread::current(), nm->method());
   257 
   257 
   258   if (!mh->is_native()) {
   258   if (!mh->is_native()) {
   259     PcDesc *pcd;
   259     PcDesc *pcd;
   260     int pcds_in_method;
   260     int pcds_in_method;
   261 
   261