8242295: Change ThreadMBean in vmTestbase/nsk/monitoring to ThreadMXBean

Reviewed-by: iignatyev
This commit is contained in:
Leonid Mesnik 2020-04-08 13:14:19 -07:00
parent ac8d42087a
commit 3a6249d0c7
40 changed files with 107 additions and 108 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -21,7 +21,7 @@
* questions. * questions.
*/ */
package nsk.monitoring.ThreadMBean.findMonitorDeadlockedThreads; package nsk.monitoring.ThreadMXBean.findMonitorDeadlockedThreads;
import java.io.*; import java.io.*;
import nsk.share.*; import nsk.share.*;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.findMonitorDeadlockedThreads() * ThreadMXBean.findMonitorDeadlockedThreads()
* does not return the id of the currect thread, since it is not deadlocked. * does not return the id of the currect thread, since it is not deadlocked.
* The test implements direct access to the metrics. * The test implements direct access to the metrics.
* COMMENT * COMMENT
@ -38,6 +38,6 @@
* @library /vmTestbase * @library /vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm nsk.monitoring.ThreadMBean.findMonitorDeadlockedThreads.find001 * @run main/othervm nsk.monitoring.ThreadMXBean.findMonitorDeadlockedThreads.find001
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.findMonitorDeadlockedThreads() * ThreadMXBean.findMonitorDeadlockedThreads()
* does not return the id of the currect thread, since it is not deadlocked. * does not return the id of the currect thread, since it is not deadlocked.
* The test implements access to the metrics via default MBean server. * The test implements access to the metrics via default MBean server.
* COMMENT * COMMENT
@ -39,7 +39,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.findMonitorDeadlockedThreads.find001 * nsk.monitoring.ThreadMXBean.findMonitorDeadlockedThreads.find001
* -testMode=server * -testMode=server
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.findMonitorDeadlockedThreads() * ThreadMXBean.findMonitorDeadlockedThreads()
* does not return the id of the currect thread, since it is not deadlocked. * does not return the id of the currect thread, since it is not deadlocked.
* The test implements access to the metrics via custom MBean server. * The test implements access to the metrics via custom MBean server.
* COMMENT * COMMENT
@ -39,7 +39,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.findMonitorDeadlockedThreads.find001 * nsk.monitoring.ThreadMXBean.findMonitorDeadlockedThreads.find001
* -testMode=server * -testMode=server
* -MBeanServer=custom * -MBeanServer=custom
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.findMonitorDeadlockedThreads() * ThreadMXBean.findMonitorDeadlockedThreads()
* does not return the id of the currect thread, since it is not deadlocked. * does not return the id of the currect thread, since it is not deadlocked.
* The test implements access to the metrics via default MBean server proxy. * The test implements access to the metrics via default MBean server proxy.
* COMMENT * COMMENT
@ -38,6 +38,6 @@
* @library /vmTestbase * @library /vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm nsk.monitoring.ThreadMBean.findMonitorDeadlockedThreads.find001 -testMode=proxy * @run main/othervm nsk.monitoring.ThreadMXBean.findMonitorDeadlockedThreads.find001 -testMode=proxy
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.findMonitorDeadlockedThreads() * ThreadMXBean.findMonitorDeadlockedThreads()
* does not return the id of the currect thread, since it is not deadlocked. * does not return the id of the currect thread, since it is not deadlocked.
* The test implements access to the metrics via custom MBean server proxy. * The test implements access to the metrics via custom MBean server proxy.
* COMMENT * COMMENT
@ -39,7 +39,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.findMonitorDeadlockedThreads.find001 * nsk.monitoring.ThreadMXBean.findMonitorDeadlockedThreads.find001
* -testMode=proxy * -testMode=proxy
* -MBeanServer=custom * -MBeanServer=custom
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -21,7 +21,7 @@
* questions. * questions.
*/ */
package nsk.monitoring.ThreadMBean.isCurrentThreadCpuTimeSupported; package nsk.monitoring.ThreadMXBean.isCurrentThreadCpuTimeSupported;
import java.io.*; import java.io.*;
import nsk.share.*; import nsk.share.*;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isCurrentThreadCpuTimeSupported() * ThreadMXBean.isCurrentThreadCpuTimeSupported()
* method returns true. The test performs directly access to management * method returns true. The test performs directly access to management
* metrics within the same JVM. * metrics within the same JVM.
* Note, that the test is correct ONLY against Sun's Hotspot VM. This * Note, that the test is correct ONLY against Sun's Hotspot VM. This
@ -43,6 +43,6 @@
* @library /vmTestbase * @library /vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm nsk.monitoring.ThreadMBean.isCurrentThreadCpuTimeSupported.curthcputime001 * @run main/othervm nsk.monitoring.ThreadMXBean.isCurrentThreadCpuTimeSupported.curthcputime001
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isCurrentThreadCpuTimeSupported() * ThreadMXBean.isCurrentThreadCpuTimeSupported()
* method returns true. The test performs access to management metrics * method returns true. The test performs access to management metrics
* through default MBeanServer. * through default MBeanServer.
* Note, that the test is correct ONLY against Sun's Hotspot VM. This * Note, that the test is correct ONLY against Sun's Hotspot VM. This
@ -42,7 +42,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.isCurrentThreadCpuTimeSupported.curthcputime001 * nsk.monitoring.ThreadMXBean.isCurrentThreadCpuTimeSupported.curthcputime001
* -testMode=server * -testMode=server
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isCurrentThreadCpuTimeSupported() * ThreadMXBean.isCurrentThreadCpuTimeSupported()
* method returns true. The test performs access to management metrics * method returns true. The test performs access to management metrics
* through custom MBeanServer (developed and saved in * through custom MBeanServer (developed and saved in
* $TESTBASE/src/nsk/monitoring/share). * $TESTBASE/src/nsk/monitoring/share).
@ -43,7 +43,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.isCurrentThreadCpuTimeSupported.curthcputime001 * nsk.monitoring.ThreadMXBean.isCurrentThreadCpuTimeSupported.curthcputime001
* -testMode=server * -testMode=server
* -MBeanServer=custom * -MBeanServer=custom
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isCurrentThreadCpuTimeSupported() * ThreadMXBean.isCurrentThreadCpuTimeSupported()
* method returns true. The test performs access to management metrics * method returns true. The test performs access to management metrics
* through default MBeanServer proxy. * through default MBeanServer proxy.
* Note, that the test is correct ONLY against Sun's Hotspot VM. This * Note, that the test is correct ONLY against Sun's Hotspot VM. This
@ -42,7 +42,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.isCurrentThreadCpuTimeSupported.curthcputime001 * nsk.monitoring.ThreadMXBean.isCurrentThreadCpuTimeSupported.curthcputime001
* -testMode=proxy * -testMode=proxy
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isCurrentThreadCpuTimeSupported() * ThreadMXBean.isCurrentThreadCpuTimeSupported()
* method returns true. The test performs access to management metrics * method returns true. The test performs access to management metrics
* through custom MBeanServer proxy (developed and saved in * through custom MBeanServer proxy (developed and saved in
* $TESTBASE/src/nsk/monitoring/share). * $TESTBASE/src/nsk/monitoring/share).
@ -43,7 +43,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.isCurrentThreadCpuTimeSupported.curthcputime001 * nsk.monitoring.ThreadMXBean.isCurrentThreadCpuTimeSupported.curthcputime001
* -testMode=proxy * -testMode=proxy
* -MBeanServer=custom * -MBeanServer=custom
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -21,7 +21,7 @@
* questions. * questions.
*/ */
package nsk.monitoring.ThreadMBean.isThreadContentionMonitoringSupported; package nsk.monitoring.ThreadMXBean.isThreadContentionMonitoringSupported;
import java.io.*; import java.io.*;
import nsk.share.*; import nsk.share.*;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isThreadContentionMonitoringSupported() * ThreadMXBean.isThreadContentionMonitoringSupported()
* method returns true. The test performs directly access to management * method returns true. The test performs directly access to management
* metrics within the same JVM. * metrics within the same JVM.
* Note, that the test is correct ONLY against Sun's Hotspot VM. This * Note, that the test is correct ONLY against Sun's Hotspot VM. This
@ -44,6 +44,6 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.isThreadContentionMonitoringSupported.thcontmonitor001 * nsk.monitoring.ThreadMXBean.isThreadContentionMonitoringSupported.thcontmonitor001
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isThreadContentionMonitoringSupported() * ThreadMXBean.isThreadContentionMonitoringSupported()
* method returns true. The test performs access to management metrics * method returns true. The test performs access to management metrics
* through default MBeanServer. * through default MBeanServer.
* Note, that the test is correct ONLY against Sun's Hotspot VM. This * Note, that the test is correct ONLY against Sun's Hotspot VM. This
@ -42,7 +42,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.isThreadContentionMonitoringSupported.thcontmonitor001 * nsk.monitoring.ThreadMXBean.isThreadContentionMonitoringSupported.thcontmonitor001
* -testMode=server * -testMode=server
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isThreadContentionMonitoringSupported() * ThreadMXBean.isThreadContentionMonitoringSupported()
* method returns true. The test performs access to management metrics * method returns true. The test performs access to management metrics
* through custom MBeanServer (developed and saved in * through custom MBeanServer (developed and saved in
* $TESTBASE/src/nsk/monitoring/share). * $TESTBASE/src/nsk/monitoring/share).
@ -43,7 +43,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.isThreadContentionMonitoringSupported.thcontmonitor001 * nsk.monitoring.ThreadMXBean.isThreadContentionMonitoringSupported.thcontmonitor001
* -testMode=server * -testMode=server
* -MBeanServer=custom * -MBeanServer=custom
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isThreadContentionMonitoringSupported() * ThreadMXBean.isThreadContentionMonitoringSupported()
* method returns true. The test performs access to management metrics * method returns true. The test performs access to management metrics
* through default MBeanServer proxy. * through default MBeanServer proxy.
* Note, that the test is correct ONLY against Sun's Hotspot VM. This * Note, that the test is correct ONLY against Sun's Hotspot VM. This
@ -42,7 +42,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.isThreadContentionMonitoringSupported.thcontmonitor001 * nsk.monitoring.ThreadMXBean.isThreadContentionMonitoringSupported.thcontmonitor001
* -testMode=proxy * -testMode=proxy
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isThreadContentionMonitoringSupported() * ThreadMXBean.isThreadContentionMonitoringSupported()
* method returns true. The test performs access to management metrics * method returns true. The test performs access to management metrics
* through custom MBeanServer proxy (developed and saved in * through custom MBeanServer proxy (developed and saved in
* $TESTBASE/src/nsk/monitoring/share). * $TESTBASE/src/nsk/monitoring/share).
@ -43,7 +43,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.isThreadContentionMonitoringSupported.thcontmonitor001 * nsk.monitoring.ThreadMXBean.isThreadContentionMonitoringSupported.thcontmonitor001
* -testMode=proxy * -testMode=proxy
* -MBeanServer=custom * -MBeanServer=custom
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -21,7 +21,7 @@
* questions. * questions.
*/ */
package nsk.monitoring.ThreadMBean.isThreadCpuTimeSupported; package nsk.monitoring.ThreadMXBean.isThreadCpuTimeSupported;
import java.io.*; import java.io.*;
import nsk.share.*; import nsk.share.*;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isThreadCpuTimeSupported() * ThreadMXBean.isThreadCpuTimeSupported()
* method returns true. The test performs directly access to management * method returns true. The test performs directly access to management
* metrics within the same JVM. * metrics within the same JVM.
* Note, that the test is correct ONLY against Sun's Hotspot VM. This * Note, that the test is correct ONLY against Sun's Hotspot VM. This
@ -43,6 +43,6 @@
* @library /vmTestbase * @library /vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm nsk.monitoring.ThreadMBean.isThreadCpuTimeSupported.thcputime001 * @run main/othervm nsk.monitoring.ThreadMXBean.isThreadCpuTimeSupported.thcputime001
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isThreadCpuTimeSupported() * ThreadMXBean.isThreadCpuTimeSupported()
* method returns true. The test performs access to management metrics * method returns true. The test performs access to management metrics
* through default MBeanServer. * through default MBeanServer.
* Note, that the test is correct ONLY against Sun's Hotspot VM. This * Note, that the test is correct ONLY against Sun's Hotspot VM. This
@ -42,7 +42,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.isThreadCpuTimeSupported.thcputime001 * nsk.monitoring.ThreadMXBean.isThreadCpuTimeSupported.thcputime001
* -testMode=server * -testMode=server
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isThreadCpuTimeSupported() * ThreadMXBean.isThreadCpuTimeSupported()
* method returns true. The test performs access to management metrics * method returns true. The test performs access to management metrics
* through custom MBeanServer (developed and saved in * through custom MBeanServer (developed and saved in
* $TESTBASE/src/nsk/monitoring/share). * $TESTBASE/src/nsk/monitoring/share).
@ -43,7 +43,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.isThreadCpuTimeSupported.thcputime001 * nsk.monitoring.ThreadMXBean.isThreadCpuTimeSupported.thcputime001
* -testMode=server * -testMode=server
* -MBeanServer=custom * -MBeanServer=custom
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isThreadCpuTimeSupported() * ThreadMXBean.isThreadCpuTimeSupported()
* method returns true. The test performs access to management metrics * method returns true. The test performs access to management metrics
* through default MBeanServer proxy. * through default MBeanServer proxy.
* Note, that the test is correct ONLY against Sun's Hotspot VM. This * Note, that the test is correct ONLY against Sun's Hotspot VM. This
@ -42,7 +42,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.isThreadCpuTimeSupported.thcputime001 * nsk.monitoring.ThreadMXBean.isThreadCpuTimeSupported.thcputime001
* -testMode=proxy * -testMode=proxy
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.isThreadCpuTimeSupported() * ThreadMXBean.isThreadCpuTimeSupported()
* method returns true. The test performs access to management metrics * method returns true. The test performs access to management metrics
* through custom MBeanServer proxy (developed and saved in * through custom MBeanServer proxy (developed and saved in
* $TESTBASE/src/nsk/monitoring/share). * $TESTBASE/src/nsk/monitoring/share).
@ -43,7 +43,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.isThreadCpuTimeSupported.thcputime001 * nsk.monitoring.ThreadMXBean.isThreadCpuTimeSupported.thcputime001
* -testMode=proxy * -testMode=proxy
* -MBeanServer=custom * -MBeanServer=custom
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2007, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2007, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -21,7 +21,7 @@
* questions. * questions.
*/ */
package nsk.monitoring.ThreadMBean.resetPeakThreadCount; package nsk.monitoring.ThreadMXBean.resetPeakThreadCount;
import java.io.*; import java.io.*;
import nsk.share.*; import nsk.share.*;

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.resetPeakThreadCount() * ThreadMXBean.resetPeakThreadCount()
* returns correct result. * returns correct result.
* The test starts a couple of user threads and waits until they finish. After * The test starts a couple of user threads and waits until they finish. After
* that, resetPeakThreadCount() is invoked to reset the peak. Then * that, resetPeakThreadCount() is invoked to reset the peak. Then
@ -43,6 +43,6 @@
* @library /vmTestbase * @library /vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm nsk.monitoring.ThreadMBean.resetPeakThreadCount.reset001 * @run main/othervm nsk.monitoring.ThreadMXBean.resetPeakThreadCount.reset001
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.resetPeakThreadCount() * ThreadMXBean.resetPeakThreadCount()
* returns correct result. * returns correct result.
* The test starts a couple of user threads and waits until they finish. After * The test starts a couple of user threads and waits until they finish. After
* that, resetPeakThreadCount() is invoked to reset the peak. Then * that, resetPeakThreadCount() is invoked to reset the peak. Then
@ -43,6 +43,6 @@
* @library /vmTestbase * @library /vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm nsk.monitoring.ThreadMBean.resetPeakThreadCount.reset001 -testMode=server * @run main/othervm nsk.monitoring.ThreadMXBean.resetPeakThreadCount.reset001 -testMode=server
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.resetPeakThreadCount() * ThreadMXBean.resetPeakThreadCount()
* returns correct result. * returns correct result.
* The test starts a couple of user threads and waits until they finish. After * The test starts a couple of user threads and waits until they finish. After
* that, resetPeakThreadCount() is invoked to reset the peak. Then * that, resetPeakThreadCount() is invoked to reset the peak. Then
@ -44,7 +44,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.resetPeakThreadCount.reset001 * nsk.monitoring.ThreadMXBean.resetPeakThreadCount.reset001
* -testMode=server * -testMode=server
* -MBeanServer=custom * -MBeanServer=custom
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.resetPeakThreadCount() * ThreadMXBean.resetPeakThreadCount()
* returns correct result. * returns correct result.
* The test starts a couple of user threads and waits until they finish. After * The test starts a couple of user threads and waits until they finish. After
* that, resetPeakThreadCount() is invoked to reset the peak. Then * that, resetPeakThreadCount() is invoked to reset the peak. Then
@ -43,6 +43,6 @@
* @library /vmTestbase * @library /vmTestbase
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm nsk.monitoring.ThreadMBean.resetPeakThreadCount.reset001 -testMode=proxy * @run main/othervm nsk.monitoring.ThreadMXBean.resetPeakThreadCount.reset001 -testMode=proxy
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -30,7 +30,7 @@
* VM Testbase readme: * VM Testbase readme:
* DESCRIPTION * DESCRIPTION
* The test checks that * The test checks that
* ThreadMBean.resetPeakThreadCount() * ThreadMXBean.resetPeakThreadCount()
* returns correct result. * returns correct result.
* The test starts a couple of user threads and waits until they finish. After * The test starts a couple of user threads and waits until they finish. After
* that, resetPeakThreadCount() is invoked to reset the peak. Then * that, resetPeakThreadCount() is invoked to reset the peak. Then
@ -44,7 +44,7 @@
* /test/lib * /test/lib
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm * @run main/othervm
* nsk.monitoring.ThreadMBean.resetPeakThreadCount.reset001 * nsk.monitoring.ThreadMXBean.resetPeakThreadCount.reset001
* -testMode=proxy * -testMode=proxy
* -MBeanServer=custom * -MBeanServer=custom
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2003, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -32,7 +32,7 @@ import nsk.monitoring.share.*;
/** /**
* The test starts recursive threads, switches them to the various * The test starts recursive threads, switches them to the various
* state after reaching defined depth and checks up their stack traces * state after reaching defined depth and checks up their stack traces
* and states gotten via the ThreadMBean interface. The test may be executed * and states gotten via the ThreadMXBean interface. The test may be executed
* with the following parameters: * with the following parameters:
* <ul> * <ul>
* <li> * <li>
@ -78,8 +78,8 @@ import nsk.monitoring.share.*;
* <code>BLOCKED</code>, <code>WAITING</code>, <code>SLEEPING</code> or * <code>BLOCKED</code>, <code>WAITING</code>, <code>SLEEPING</code> or
* <code>RUNNING</code>. * <code>RUNNING</code>.
* <p>After threads are reaching the specified state, test checks up their stack * <p>After threads are reaching the specified state, test checks up their stack
* traces and states gotten via the ThreadMBean interface. * traces and states gotten via the ThreadMXBean interface.
* <p>The test fails if state of some thread gotten via the ThreadMBean * <p>The test fails if state of some thread gotten via the ThreadMXBean
* interface doesn't correspond to the state specified by the test or stack * interface doesn't correspond to the state specified by the test or stack
* trace contains an extra element. Expected stack trace elements are specified * trace contains an extra element. Expected stack trace elements are specified
* by {@link nsk.monitoring.share.ThreadMonitor ThreadMonitor} * by {@link nsk.monitoring.share.ThreadMonitor ThreadMonitor}

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -32,7 +32,7 @@
* DESCRIPTION * DESCRIPTION
* The test starts 50 recursive threads, switches them to the various * The test starts 50 recursive threads, switches them to the various
* state after reaching 200 depth and checks up their stack traces * state after reaching 200 depth and checks up their stack traces
* and states gotten via the ThreadMBean interface. * and states gotten via the ThreadMXBean interface.
* Access to the management metrics is accomplished by DIRECTLY calling * Access to the management metrics is accomplished by DIRECTLY calling
* the methods in the MBean. * the methods in the MBean.
* COMMENTS * COMMENTS
@ -50,4 +50,3 @@
* @run driver jdk.test.lib.FileInstaller . . * @run driver jdk.test.lib.FileInstaller . .
* @run main/othervm nsk.monitoring.stress.thread.strace010 -depth=100 -threadCount=30 * @run main/othervm nsk.monitoring.stress.thread.strace010 -depth=100 -threadCount=30
*/ */

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -32,7 +32,7 @@
* DESCRIPTION * DESCRIPTION
* The test starts 50 recursive threads, switches them to the various * The test starts 50 recursive threads, switches them to the various
* state after reaching 200 depth and checks up their stack traces * state after reaching 200 depth and checks up their stack traces
* and states gotten via the ThreadMBean interface. * and states gotten via the ThreadMXBean interface.
* Executable class of the test is the same as for the strace010 test. * Executable class of the test is the same as for the strace010 test.
* In contrast to the strace010 test, the strace011 test is performed for * In contrast to the strace010 test, the strace011 test is performed for
* that: * that:

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -32,7 +32,7 @@
* DESCRIPTION * DESCRIPTION
* The test starts 50 recursive threads, switches them to the various * The test starts 50 recursive threads, switches them to the various
* state after reaching 200 depth and checks up their stack traces * state after reaching 200 depth and checks up their stack traces
* and states gotten via the ThreadMBean interface. * and states gotten via the ThreadMXBean interface.
* Executable class of the test is the same as for the strace010 test. * Executable class of the test is the same as for the strace010 test.
* In contrast to the strace010 test, the strace012 test is performed for * In contrast to the strace010 test, the strace012 test is performed for
* that: * that:

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -32,7 +32,7 @@
* DESCRIPTION * DESCRIPTION
* The test starts 50 recursive threads, switches them to the various * The test starts 50 recursive threads, switches them to the various
* state after reaching 200 depth and checks up their stack traces * state after reaching 200 depth and checks up their stack traces
* and states gotten via the ThreadMBean interface. * and states gotten via the ThreadMXBean interface.
* Executable class of the test is the same as for the strace010 test. * Executable class of the test is the same as for the strace010 test.
* In contrast to the strace010 test, the strace013 test is performed for * In contrast to the strace010 test, the strace013 test is performed for
* the case when recursive method is native. * the case when recursive method is native.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -32,7 +32,7 @@
* DESCRIPTION * DESCRIPTION
* The test starts 50 recursive threads, switches them to the various * The test starts 50 recursive threads, switches them to the various
* state after reaching 200 depth and checks up their stack traces * state after reaching 200 depth and checks up their stack traces
* and states gotten via the ThreadMBean interface. * and states gotten via the ThreadMXBean interface.
* Executable class of the test is the same as for the strace011 test. * Executable class of the test is the same as for the strace011 test.
* In contrast to the strace011 test, the strace014 test is performed for * In contrast to the strace011 test, the strace014 test is performed for
* the case when recursive method is native. * the case when recursive method is native.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -32,7 +32,7 @@
* DESCRIPTION * DESCRIPTION
* The test starts 50 recursive threads, switches them to the various * The test starts 50 recursive threads, switches them to the various
* state after reaching 200 depth and checks up their stack traces * state after reaching 200 depth and checks up their stack traces
* and states gotten via the ThreadMBean interface. * and states gotten via the ThreadMXBean interface.
* Executable class of the test is the same as for the strace012 test. * Executable class of the test is the same as for the strace012 test.
* In contrast to the strace012 test, the strace015 test is performed for * In contrast to the strace012 test, the strace015 test is performed for
* the case when recursive method is native. * the case when recursive method is native.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -32,7 +32,7 @@
* DESCRIPTION * DESCRIPTION
* The test starts 50 recursive threads, switches them to the various * The test starts 50 recursive threads, switches them to the various
* state after reaching 200 depth and checks up their stack traces * state after reaching 200 depth and checks up their stack traces
* and states gotten via the ThreadMBean interface. * and states gotten via the ThreadMXBean interface.
* Executable class of the test is the same as for the strace013 test. * Executable class of the test is the same as for the strace013 test.
* In contrast to the strace013 test, the strace016 test is performed for * In contrast to the strace013 test, the strace016 test is performed for
* the case when recursive method is native and pure java by turn. * the case when recursive method is native and pure java by turn.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -32,7 +32,7 @@
* DESCRIPTION * DESCRIPTION
* The test starts 50 recursive threads, switches them to the various * The test starts 50 recursive threads, switches them to the various
* state after reaching 200 depth and checks up their stack traces * state after reaching 200 depth and checks up their stack traces
* and states gotten via the ThreadMBean interface. * and states gotten via the ThreadMXBean interface.
* Executable class of the test is the same as for the strace014 test. * Executable class of the test is the same as for the strace014 test.
* In contrast to the strace014 test, the strace017 test is performed for * In contrast to the strace014 test, the strace017 test is performed for
* the case when recursive method is native and pure java by turn. * the case when recursive method is native and pure java by turn.

View File

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -32,7 +32,7 @@
* DESCRIPTION * DESCRIPTION
* The test starts 50 recursive threads, switches them to the various * The test starts 50 recursive threads, switches them to the various
* state after reaching 200 depth and checks up their stack traces * state after reaching 200 depth and checks up their stack traces
* and states gotten via the ThreadMBean interface. * and states gotten via the ThreadMXBean interface.
* Executable class of the test is the same as for the strace015 test. * Executable class of the test is the same as for the strace015 test.
* In contrast to the strace015 test, the strace018 test is performed for * In contrast to the strace015 test, the strace018 test is performed for
* the case when recursive method is native and pure java by turn. * the case when recursive method is native and pure java by turn.