diff src/share/vm/services/gcNotifier.hpp @ 4922:1891640ca63f

7143760: Memory leak in GarbageCollectionNotifications Reviewed-by: dholmes, dcubed, kamg
author fparain
date Tue, 14 Feb 2012 06:54:27 -0800
parents 78542e2b5e35
children d2a62e0f25eb
line wrap: on
line diff
--- a/src/share/vm/services/gcNotifier.hpp	Mon Feb 13 12:30:47 2012 -0500
+++ b/src/share/vm/services/gcNotifier.hpp	Tue Feb 14 06:54:27 2012 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -60,6 +60,7 @@
   static GCNotificationRequest *last_request;
   static void addRequest(GCNotificationRequest *request);
   static GCNotificationRequest *getRequest();
+  static void sendNotificationInternal(TRAPS);
 public:
   static void pushNotification(GCMemoryManager *manager, const char *action, const char *cause);
   static bool has_event();