-
Bug
-
Resolution: Fixed
-
P2
-
24
-
b09
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8349250 | 24.0.1 | Ioi Lam | P2 | Resolved | Fixed | b06 |
JDK-8349169 | 24 | Ioi Lam | P2 | Resolved | Fixed | b35 |
Some jdwp testing failures are found when running with an AOT cache created with -XX:+AOTClassLinking.
It's unclear what the exact cause is. Maybe the test cases use a JDWP agent that assumes certain classes are NOT yet loaded, when in fact those classes are loaded during JVM bootstrap due to the use of the AOT cache.
Proposal:
If an AOT cache was created with -XX:+AOTClassLinking, do not load it when -agent:jdwp.... is detected from the command-line
Justification:
Since AOT cache is an optimization feature, it's OK to disable this optimization when jdwp is required.
It's unclear what the exact cause is. Maybe the test cases use a JDWP agent that assumes certain classes are NOT yet loaded, when in fact those classes are loaded during JVM bootstrap due to the use of the AOT cache.
Proposal:
If an AOT cache was created with -XX:+AOTClassLinking, do not load it when -agent:jdwp.... is detected from the command-line
Justification:
Since AOT cache is an optimization feature, it's OK to disable this optimization when jdwp is required.
- backported by
-
JDK-8349169 -XX:+AOTClassLinking is not compatible with jdwp
-
- Resolved
-
-
JDK-8349250 -XX:+AOTClassLinking is not compatible with jdwp
-
- Resolved
-
- blocks
-
JDK-8348752 Enable -XX:+AOTClassLinking by default when -XX:AOTMode is specified
-
- Resolved
-
- links to
-
Commit(jdk24) openjdk/jdk/2a1a416c
-
Commit(master) openjdk/jdk/03f5c33b
-
Review(jdk24) openjdk/jdk/23381
-
Review(master) openjdk/jdk/23378
(2 links to)