GraphLayout with multiple roots

Aleksey Shipilev aleksey.shipilev at oracle.com
Thu May 14 08:52:06 UTC 2015


On 05/13/2015 11:21 PM, Brian Harris wrote:
> What do you think about adding GraphLayout.parseInstances(Object... roots)?
> I'd like to measure totalSize of multiple instances and avoid double
> counting when they both have reference to same subgraph.

I don't see why not:
 https://bugs.openjdk.java.net/browse/CODETOOLS-7901422
 http://hg.openjdk.java.net/code-tools/jol/rev/9c716b63a6cf

-Aleksey



More information about the jol-dev mailing list