RFR(M): 8026796: Make replace_in_map() on parent maps generic

Roland Westrelin roland.westrelin at oracle.com
Mon May 19 11:37:45 UTC 2014


I forgot the webrev:

http://cr.openjdk.java.net/~roland/8026796/webrev.00/

Roland.

On May 19, 2014, at 1:01 PM, Roland Westrelin <roland.westrelin at oracle.com> wrote:

> 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