-
Type:
Sub-task
-
Resolution: Unresolved
-
Priority:
P3
-
Affects Version/s: repo-panama
-
Component/s: hotspot
On API/bytecode level, vectors are represented as Objects, but C2 aggressively eliminates vector boxes.
Some existing vector-specific optimizations can break identity invariants which hold for ordinary objects.
Use "strict" identity semantics by default, but allow users to opt-it for aggressive optimizations.
Some existing vector-specific optimizations can break identity invariants which hold for ordinary objects.
Use "strict" identity semantics by default, but allow users to opt-it for aggressive optimizations.