-
Type:
Enhancement
-
Resolution: Unresolved
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: hotspot
Possible enhancements for memory accesses.
- Consolidate the detection of access independence.
- Hoist a load out of a loop if all inputs except the memory input are loop-invariants and all memory accesses in the loop are independent from that load. Can also hoist if the control input post-dominates the loop head.
- Hoist a store out of a loop if it post-dominates the loop head, the pointer and value inputs are loop-invariants, all accesses between the store and the loop head are independent from that store.
- Consolidate the detection of access independence.
- Hoist a load out of a loop if all inputs except the memory input are loop-invariants and all memory accesses in the loop are independent from that load. Can also hoist if the control input post-dominates the loop head.
- Hoist a store out of a loop if it post-dominates the loop head, the pointer and value inputs are loop-invariants, all accesses between the store and the loop head are independent from that store.
- relates to
-
JDK-8373495 C2: Aggressively fold loads from objects that have not escaped
-
- Open
-
-
JDK-8376220 C2: Refactor the logic to in MemNode::find_previous_store
-
- Open
-