-
Enhancement
-
Resolution: Fixed
-
P3
-
24
-
None
The code that generated memory access var handles given a call to `MemoryLayout::varHandle(PathElement...)` is very general. As such, while it works on any possible selected chain of path elements, it's also poorly optimized for the common cases (e.g. simple struct field access). In such common cases, the runtime generates too many lambda forms, which end up degrading startup.
- causes
-
JDK-8349880 AddressLayout access fails on 32-bit platforms
-
- Open
-
- relates to
-
JDK-8337505 Footprint and startup regressions up to 20% in GUI apps
-
- Open
-
- links to
-
Commit(master) openjdk/jdk/0e8fe355
-
Review(master) openjdk/jdk/20647