Loading... (original) (raw)
- Type:
Bug
- Resolution: Fixed
- Priority:
P3
- Affects Version/s: repo-valhalla
It would be very convenient to have an instance of the default value pre-allocated in the Java heap for each Value Types. This pre-allocated value could be used by vdefault, for non-initialized non-flattened value fields and the initialization of non-flattened value arrays. Having a pre-allocated default value would help avoiding some allocations and would reduce the overall memory footprint.
duplicates
JDK-8182366 Value type array "default value" clean-up
- Closed
relates to
JDK-8190458 [MVT] C2 should use pre-allocated default value types
- Resolved