On Mon, 22 May 2023 17:56:41 GMT, Cesar Soares Lucas <cslu...@openjdk.org> 
wrote:

> Speaking of _only_merge_candidate flag, I find it easier about the code when 
> the property being tracked is whether the ObjectValue is referenced from 
> corresponding JVM state or not. (Maybe call it is_root()?) So, 
> ScopeDesc::objects_to_rematerialize() would skip everything not referenced 
> from JVM state [...]

@iwanowww - I want to make sure I understood "is_root(sv)" correctly. Are you 
suggesting to implement it as `ScopeDesc::is_root(ScopeValue* sv)` and the body 
of the method would just check if the `sv` is referenced in 
locals/expressions/monitor? Did I get it right?

-------------

PR Comment: https://git.openjdk.org/jdk/pull/12897#issuecomment-1559796992

Reply via email to