Details
-
Bug
-
Resolution: Fixed
-
P4
-
repo-lilliput-17, repo-lilliput
-
x86_64, aarch64
-
generic
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8314131 | repo-lilliput-17 | Roman Kennke | P4 | Resolved | Fixed |
Description
The loadNKlassCompactHeaders template in the .ad files currently declares dst as TEMP_DEF. This has historic reasons: We needed to ensure that dst doesn't overlap with src, because we needed src for calling into the slow-path. In addition to that, there seems to be a related bug in C2's matcher which sometimes seems to create an oopmap entry for a temp reg, which would make GCs crash if they scan uninitialized slot (see JDK-8051805). That problem should also go away with this change. In addition to that, relaxing the type of dst might also lead to performance enhancements when register pressure is high, because we don't need two registers for loadNKlass - 1 register would be enough.
Attachments
Issue Links
- backported by
-
JDK-8314131 [Lilliput/JDK17] Make loadNKlassCompactHeaders not use a TEMP register
-
- Resolved
-