RFR: 8265322: C2: Simplify control inputs for BarrierSetC2::obj_allocate
yyang at openjdk.java.net
Fri Apr 16 03:16:04 UTC 2021
This PR simplifies control inputs for BarrierSetC2::obj_allocate. In most cases, it doesn't change anything since `toobig_false` is equivalent to `ctrl`. In rare case, `toobig_false` is created for Unsafe.allocateInstance while instance size is not statically known, `ctrl` would become control input of IfNode whose projects are `toobig_false` and `toobig_true`, old eden_end and old_eden_top can simply accept `toobig_false` as their control input rather than `ctrl`.
Stats: 5 lines in 3 files changed: 0 ins; 0 del; 5 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3529/head:pull/3529
More information about the hotspot-compiler-dev