RFR(T): 8224034: [TESTBUG] runtime/ErrorHandlerTest/ErrorHandler fails intermittently for case 13 on Windows
    Thomas Stüfe 
    thomas.stuefe at gmail.com
       
    Tue May 21 06:21:32 UTC 2019
    
    
  
Hi all,
may I have reviews please for this trivial test fix:
https://bugs.openjdk.java.net/browse/JDK-8224034
http://cr.openjdk.java.net/~stuefe/webrevs/8224034-errorhandlertest-13-fails-intermittently/webrev.00/webrev/
-XX:ErrorHandlerTest=13 may sometimes fail to trigger the expected crash.
We see this on Windows. Where one would expect a ACCESS_VIOLATION, the VM
just quits immediately.
The test jumps to an invalid function pointer. We may see here some sort of
intrusion prevention.
All these tests invoke undefined behavior but the other tests behave in the
expected fashion.
I propose to exclude this case from the test since analyzing why exactly it
quits immediately on Windows could be done but IMHO is not worth the effort.
Thank you!
Thomas
    
    
More information about the hotspot-runtime-dev
mailing list