-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: 26
-
Component/s: hotspot
When placing fields for a contended class, if the first field placed needs alignment padding, the added padding cannot be reused by other fields that could potentially fit into that space. Unlike other gaps, this one is never checked for reuse.
For contended classes (and contended groups of members), we should check the whole contended range instead of stopping early, so any alignment padding inside the range can be considered for later fields.
For contended classes (and contended groups of members), we should check the whole contended range instead of stopping early, so any alignment padding inside the range can be considered for later fields.
- links to
-
Review(master)
openjdk/jdk/30117