|
Hi Yasumasa,
I'm a little bit confused with this fix. If this test is failed on Windows only then the line: + * @requires os.family != "windows" prevents the test to be run on Windows (which looks Okay to me). Then why are there other fixes (excluding the comment with bug numbers)? Your summary below only tells about problem on Windows. What was motivation for these changes? Thanks, Serguei On 5/23/19 17:23, Yasumasa Suenaga wrote: Hi all, Please review this change. This webrev has passed all tests on submit repo (mach5-one-ysuenaga-JDK-8224252-3-20190523-0532-2647154).JBS: https://bugs.openjdk.java.net/browse/JDK-8224252 webrev: http://cr.openjdk.java.net/~ysuenaga/JDK-8224252/webrev.00/ JDK-8163805 was suppose to fix a timeout issue with this test and also removed it off the problemlist. However, it still times out on windows-x64 about 1/3 of the time. It passes every time on all the other platforms. Root cause of this is `jhsdb debugd` could not be exited normally. `jhsdb debugd` (internally, DebugServer.java) would detach from debuggee at shutdown hook. So jhsdb process need to be exited normally. `jhsdb debugd` could not exit itself without external operation (e.g. CTRL+C, signals). Thus we use Process::destroy for it. In the case of Windows, Process::destroy calls TerminateProcess() Windows API to terminate process. However it would terminate target process immediately and it would not give a chance to kick shutdown hook. (It is documented on Javadoc of Runtime::addShutdownHook) Thanks, Yasumasa |
- RFR: 8224252: [TESTBUG] hotspot/test/serviceabi... Yasumasa Suenaga
- Re: RFR: 8224252: [TESTBUG] hotspot/test/s... [email protected]
- Re: RFR: 8224252: [TESTBUG] hotspot/te... Yasumasa Suenaga
- Re: RFR: 8224252: [TESTBUG] hotspo... [email protected]
- Re: RFR: 8224252: [TESTBUG] ho... Chris Plummer
- Re: RFR: 8224252: [TESTBU... Yasumasa Suenaga
