Scalar Replacement
A compiler optimization that replaces an object allocation with its individual fields when escape analysis proves the object need not exist as a materialized heap object.
Related Concepts
- Escape Analysis
- Allocation
- Garbage Collection
- Just-In-Time Compilation