measuring object size in Java
Laurence Cable
larry.cable at oracle.com
Fri Sep 29 15:31:40 UTC 2023
On 9/28/23 10:38 PM, Alan Bateman wrote:
>
>
> On 28/09/2023 21:42, daniel.daugherty at oracle.com wrote:
>> java.lang.instrument is owned by the Serviceability Team so I'm
>> redirecting this
>> message to that alias...
>
> This doesn't look like a JDK issue, instead it looks like
> |com.github.jelmerk.ObjectSizeFetcher has an Instrumentation field
> that is null. SO is a reasonable place to discuss usage issues like
> this although I see one of the answers about agents getting its own
> class loader is confusing as the agent class is loaded by the
> application class loader, the VM doesn't create a class loader for
> agents.|
>
perhaps the next step is to test the example 'standalone' as opposed to
being executed from maven plugin...
> -Alan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/serviceability-dev/attachments/20230929/98996139/attachment-0001.htm>
More information about the serviceability-dev
mailing list