8027043: Turn global accesses into MethodHandle.constant, with one chance of reassignment, e.g. x = value occuring once in the global scope is ok, twice is not.
Reviewed-by: attila, sundar, jlaskey
start
get b
get a
conv c
conv b
111
done with first
get b
get b
conv c
conv b
conv b
120
get b
get a
get b
conv b
conv b
21
get b
get b
conv b
conv c
conv b
120
get b
get b
conv b
conv c
conv b
120
get b
get a
get b
conv b
conv c
conv b
101
get b
get b
conv c
conv b
conv c
conv b
200
get b
get b
conv b
conv c
conv c
conv b
20
get b
get b
get a
conv b
conv b
22
get b
get b
get b
conv b
conv b
22
get b
get b
conv b
conv b
22
get b
conv c
get a
conv b
-91
get b
conv c
get b
conv b
conv b
-100
get b
conv c
conv c
conv b
-190
get b
get a
get b
get b
get b