hotspot/src/share/vm/services/gcNotifier.cpp
changeset 46271 979ebd346ecf
parent 37248 11a660dbbb8e
child 46329 53ccc37bda19
equal deleted inserted replaced
46270:2e7898927798 46271:979ebd346ecf
     1 /*
     1 /*
     2  * Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   176                           vmSymbols::object_initializer_name(),
   176                           vmSymbols::object_initializer_name(),
   177                           vmSymbols::com_sun_management_GcInfo_constructor_signature(),
   177                           vmSymbols::com_sun_management_GcInfo_constructor_signature(),
   178                           &constructor_args,
   178                           &constructor_args,
   179                           CHECK_NH);
   179                           CHECK_NH);
   180 
   180 
   181   return Handle(gcInfo_instance());
   181   return Handle(THREAD, gcInfo_instance());
   182 }
   182 }
   183 
   183 
   184 void GCNotifier::sendNotification(TRAPS) {
   184 void GCNotifier::sendNotification(TRAPS) {
   185   GCNotifier::sendNotificationInternal(THREAD);
   185   GCNotifier::sendNotificationInternal(THREAD);
   186   // Clearing pending exception to avoid premature termination of
   186   // Clearing pending exception to avoid premature termination of