git: openjdk/jdk: 8254102: use ProcessHandle::pid instead of ManagementFactory::getRuntimeMXBean to get pid in tests

Igor Ignatyev iignatyev at openjdk.java.net
Wed Oct 7 18:52:47 UTC 2020


Changeset: 5a9bd41e
Author:    Igor Ignatyev <iignatyev at openjdk.org>
Date:      2020-10-07 18:51:52 +0000
URL:       https://git.openjdk.java.net/jdk/commit/5a9bd41e

8254102: use ProcessHandle::pid instead of ManagementFactory::getRuntimeMXBean to get pid in tests

Reviewed-by: rriggs, shade

! test/failure_handler/test/sanity/Suicide.java
! test/hotspot/jtreg/compiler/jsr292/RedefineMethodUsedByMultipleMethodHandles.java
! test/hotspot/jtreg/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/RedefineClassTest.java
! test/hotspot/jtreg/compiler/profiling/spectrapredefineclass/Agent.java
! test/hotspot/jtreg/compiler/profiling/spectrapredefineclass/Launcher.java
! test/hotspot/jtreg/compiler/profiling/spectrapredefineclass_classloaders/Agent.java
! test/hotspot/jtreg/compiler/profiling/spectrapredefineclass_classloaders/Launcher.java
! test/hotspot/jtreg/runtime/Thread/TestThreadDumpMonitorContention.java



More information about the jdk-changes mailing list