-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 26
-
Component/s: hotspot
-
b05
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8375166 | 26.0.1 | Thomas Schatzl | P2 | Resolved | Fixed | b03 |
| JDK-8375021 | 26 | Thomas Schatzl | P2 | Resolved | Fixed | b31 |
"Error occurred during initialization of VM
GC triggered before VM initialization completed. Try increasing NewSize, current value 1331K."
when running in AOT mode using different GC in training and production runs.
The issue is seen at least when ZGC was used in training run and G1 GC was used in production run.
As found below by [~eosterlund], this is because of G1's policy to preemptively start concurrent marking during humongous object allocation. The VM may not be ready to perform a GC this time. Simply do not issue the GC at that time.
Most likely related to
- backported by
-
JDK-8375021 G1 starts a concurrent mark when allocating humongous objects during initialization
-
- Resolved
-
-
JDK-8375166 G1 starts a concurrent mark when allocating humongous objects during initialization
-
- Resolved
-
- caused by
-
JDK-8373023 [REDO] Remove the default value of InitialRAMPercentage
-
- Resolved
-
- causes
-
JDK-8375282 G1: Fix wrong indendation introduced by JDK-8374743
-
- Resolved
-
- duplicates
-
JDK-8374803 G1 tries to start a concurrent mark allocating a humongous object during initialization
-
- Closed
-
- links to
-
Commit(jdk26)
openjdk/jdk/a90f4b6e
-
Commit(master)
openjdk/jdk/fb13abef
-
Review(jdk26)
openjdk/jdk/29160
-
Review(master)
openjdk/jdk/29119