RFR(M): 8026796: Make replace_in_map() on parent maps generic
Roland Westrelin
roland.westrelin at oracle.com
Mon May 19 11:01:31 UTC 2014
This change reverts:
https://bugs.openjdk.java.net/browse/JDK-8024069
and propagates replacements in replace_in_map() to callers in a generic way. Every time replace_in_map() is called, the pair of nodes passed to replace_in_map is pushed on a list that the current map carries. When control flow paths merge, the lists for each of the control flow path’s maps are also merged. When parsing exits a method to return to a caller, the replaced nodes on the exit path are used to update the caller's map. This change also propagates replaced nodes after late inlining.
Roland.
More information about the hotspot-compiler-dev
mailing list