8023478: Test fails with HS crash in GCNotifier.
authorkevinw
Mon, 09 Sep 2013 10:01:09 +0100
changeset 19953 bcb70cd411bc
parent 19952 bc974e92f881
child 19954 1642109d1a2c
8023478: Test fails with HS crash in GCNotifier. Reviewed-by: sla
hotspot/src/share/vm/services/gcNotifier.cpp
--- a/hotspot/src/share/vm/services/gcNotifier.cpp	Fri Sep 06 08:42:42 2013 -0700
+++ b/hotspot/src/share/vm/services/gcNotifier.cpp	Mon Sep 09 10:01:09 2013 +0100
@@ -209,7 +209,7 @@
   GCNotificationRequest *request = getRequest();
   if (request != NULL) {
     NotificationMark nm(request);
-    Handle objGcInfo = createGcInfo(request->gcManager, request->gcStatInfo, THREAD);
+    Handle objGcInfo = createGcInfo(request->gcManager, request->gcStatInfo, CHECK);
 
     Handle objName = java_lang_String::create_from_str(request->gcManager->name(), CHECK);
     Handle objAction = java_lang_String::create_from_str(request->gcAction, CHECK);