RFR: 8355069: Allocation::check_out_of_memory() should support CheckUnhandledOops mode

Leonid Mesnik lmesnik at openjdk.org
Sat Apr 19 00:44:18 UTC 2025


The
CheckUnhandledOops
cause failure if JvmtiExport::post_resource_exhausted(...)
is called in
MemAllocator::Allocation::check_out_of_memory()
The obj is null so it is not a real bug. 

I am fixing it to reduce noise for CheckUnhandledOops mode for jvmti tests execution.
The vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted002/TestDescription.java 
failed with -XX:+CheckUnhandledOops

-------------

Commit messages:
 - 8355069

Changes: https://git.openjdk.org/jdk/pull/24766/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24766&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8355069
  Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/24766.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24766/head:pull/24766

PR: https://git.openjdk.org/jdk/pull/24766


More information about the hotspot-gc-dev mailing list