8022524: Memory leaks in nashorn sources and tests found by jhat analysis
Reviewed-by: attila, hannesw
check with loadWithNewGlobal
obj.x 344
obj.y 12
obj instanceof global.Point? true
p.x 343
p.y 54
p instanceof P? true
check with script engine
obj.x 344
obj.y 12
obj instanceof global.Point? true
p.x 343
p.y 54
p instanceof P? true