On Sat, 19 Apr 2025 00:39:00 GMT, Leonid Mesnik <lmes...@openjdk.org> wrote:
> 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 > > If define are unwelcome here, the > ``` PreserveObj obj_h(_thread, _obj_ptr);``` > might be added instead with comment why it is needed for null obj. This pull request has now been integrated. Changeset: 83d0bd85 Author: Leonid Mesnik <lmes...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/83d0bd85afaf1b5724c12f4d2f6e9c7087bab4e8 Stats: 4 lines in 1 file changed: 4 ins; 0 del; 0 mod 8355069: Allocation::check_out_of_memory() should support CheckUnhandledOops mode Reviewed-by: sspitsyn ------------- PR: https://git.openjdk.org/jdk/pull/24766