changeset 12282:3784c8f92b5b

7107014: sun.jvm.hotspot.HSDB.FindObjectByTypeCleanupThunk.showConsole.attach infinite loop Summary: Avoid infinite loop in sun.jvm.hotspot.HSDB.FindObjectByTypeCleanupThunk.showConsole.attach Reviewed-by: rehn, dsamersoff Contributed-by: Sharath Ballal <sharath.ballal@oracle.com>
author vtewari
date Wed, 09 Nov 2016 13:38:52 +0530
parents a169535aff9d
children 8e5e93fad474
files src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HSDB.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HSDB.java	Wed Nov 09 09:30:27 2016 +0300
+++ b/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/HSDB.java	Wed Nov 09 13:38:52 2016 +0530
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2016, 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
@@ -1474,7 +1474,7 @@
                   return attached;
               }
               public void attach(String pid) {
-                  attach(pid);
+                  HSDB.this.attach(pid);
               }
               public void attach(String java, String core) {
               }