[11] RFR(XS): 8198826: -XX:+VerifyStack fails with fatal error: ExceptionMark constructor expects no pending exceptions
Tobias Hartmann
tobias.hartmann at oracle.com
Wed Feb 28 14:21:19 UTC 2018
Hi,
please review the following patch:
https://bugs.openjdk.java.net/browse/JDK-8198826
http://cr.openjdk.java.net/~thartmann/8198826/webrev.00/
If an OutOfMemoryError is thrown during reallocation of scalar replaced objects, stack verification
crashes after calling OopMapCache::compute_one_oop_map because that code does not expect pending
exceptions. Please note that the exception is not thrown in that method but earlier in
Deoptimization::realloc_objects() and then propagated through the deoptimization blob.
I propose to skip stack verification in this exceptional case.
Thanks,
Tobias
More information about the hotspot-dev
mailing list