src/share/vm/services/gcNotifier.cpp

Print this page

        

@@ -179,10 +179,11 @@
   return Handle(gcInfo_instance());
 }
 
 void GCNotifier::sendNotification(TRAPS) {
   ResourceMark rm(THREAD);
+  HandleMark hm(THREAD);
   GCNotificationRequest *request = getRequest();
   if(request != NULL) {
     Handle objGcInfo = createGcInfo(request->gcManager,request->gcStatInfo,THREAD);
 
     Handle objName = java_lang_String::create_from_platform_dependent_str(request->gcManager->name(), CHECK);