-
Enhancement
-
Resolution: Fixed
-
P4
-
25
-
b21
As part of the work for JDK-8353955 I am reducing the number of tests that need to be run with includevirtualhreads=y due to using JDI to lookup threads in the debuggee. There are many tests that lookup the "main" thread. They can instead glean the "main" thread from the ClassPrepareEvent for the debuggee main class. Some tests already wait for this ClassPrepareEvent, and can take advantage of it. Most do not, but can be made to do so. The easiest way to do this for many of the tests is to wait for the event in Debuggee.prepareDebuggee() after having called Debuggee.bindToDebuggee. This doesn't seem to have any ill affect on the tests.
- relates to
-
JDK-8353955 nsk/jdi tests should be fixed to not always require includevirtualthreads=y
-
- In Progress
-
- links to
-
Commit(master) openjdk/jdk/e2ae50d8
-
Review(master) openjdk/jdk/24867