[jdk11u-dev] Integrated: 8289764: gc/lock tests failed with "OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects"

Amos Shi ashi at openjdk.org
Tue Jan 30 13:00:44 UTC 2024


On Mon, 22 Jan 2024 10:49:12 GMT, Amos Shi <ashi at openjdk.org> wrote:

> Backport of [JDK-8289764](https://bugs.openjdk.org/browse/JDK-8289764)
> 
> - The following files are manually merged, can be consider as `clean` because the business logic is unchanged and inline with the original commit
>   - test/hotspot/jtreg/vmTestbase/gc/lock/jni/jnilock001/TestDescription.java
>   - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniglobalreflock01/TestDescription.java
>   - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnilocalreflock01/TestDescription.java
>   - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jnireflock01/TestDescription.java
>   - test/hotspot/jtreg/vmTestbase/gc/lock/jniref/jniweakglobalreflock01/TestDescription.java
>   - test/hotspot/jtreg/vmTestbase/gc/lock/jvmti/alloc/jvmtialloclock01/TestDescription.java
>   - test/hotspot/jtreg/vmTestbase/gc/lock/malloc/malloclock01/TestDescription.java
>   - test/hotspot/jtreg/vmTestbase/nsk/share/gc/gp/GarbageUtils.java - The `Copyright year` is manually merged
> - We have made the following change to make the code work on Java 11
>   - Change `jdk.test.whitebox.WhiteBox` to `sun.hotspot.WhiteBox`
>   - Change `jdk.test.lib.helpers.ClassFileInstaller` to `ClassFileInstaller`
> 
> 
> 
> Testing
> - Local: passed
>   - jtreg test against `test/hotspot/jtreg/vmTestbase/gc/lock/`
>   - result: `Test results: passed: 7`
> - Pipeline: All checks have passed
> - Testing Machine: SAP nightlies passed on `2024-01-25,26`

This pull request has now been integrated.

Changeset: 34ea9010
Author:    Amos Shi <ashi at openjdk.org>
Committer: Goetz Lindenmaier <goetz at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/34ea901038ee8512d68e25e56beb511384124862
Stats:     1368 lines in 50 files changed: 29 ins; 1300 del; 39 mod

8289764: gc/lock tests failed with "OutOfMemoryError: Java heap space: failed reallocation of scalar replaced objects"

Reviewed-by: mdoerr
Backport-of: 7b81a9c75d60f6eb2727515bacfffcf7cf15e128

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

PR: https://git.openjdk.org/jdk11u-dev/pull/2469


More information about the jdk-updates-dev mailing list