public class RuntimeCodeCacheWalker extends Object implements RuntimeCodeCache.CodeInfoVisitor
This class analyzes which runtime-compiled code references otherwise unreachable Java heap objects. Based on that information, it determines which parts of the code cache can be freed and it makes sure that the GC visits all object references of code that may stay alive.
Modifier and Type | Method and Description |
---|---|
<T extends CodeInfo> |
visitCode(T codeInfo)
Visit compiled code, using the provided access methods.
|
public <T extends CodeInfo> boolean visitCode(T codeInfo)
RuntimeCodeCache.CodeInfoVisitor
visitCode
in interface RuntimeCodeCache.CodeInfoVisitor