JDK-8139146 : implement a native method to get PID on windows in case of JTReg test timeouts
  • Type: Sub-task
  • Component: hotspot
  • Sub-Component: test
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-10-08
  • Updated: 2015-11-08
  • Resolved: 2015-11-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Fixed
Description
currently JTReg ca get PIT of test process only if we use JDK 9 as stable JDK or if we are running on *nix system. however after CODETOOLS-7901452, we can extend JTReg to get PIT on other systems as well.

for windows, we should use well-know win32 API  GetProcessId using value of java.lang.Win32Process::handle as the argument.