Function level try recourse directives.
Nathan Reynolds
numeralnathan at gmail.com
Thu Dec 29 16:55:25 UTC 2022
I understand. However, CloseableCollection is not part of the JDK. It is
in a separate library that is probably brand new. It probably is used only
by a handful of projects at this time.
On Thu, Dec 29, 2022 at 2:28 AM Mark Raynsford <org.openjdk at io7m.com> wrote:
> On 2022-12-28T12:15:03 -0800
> Nathan Reynolds <numeralnathan at gmail.com> wrote:
>
> > CloseableCollection is a class of the library. It won't show up in heap
> > dumps because probably very few people are using it. You would need to
> > look at JIT optimized assembly to see if JIT is eliding the
> > CloseableCollection and it's internal data structure (array?).
>
> To be clear, I'm referring to the heap sampling feature of tools like
> VisualVM:
>
> https://herongyang.com/Java-Tools/jvisualvm-Heap-Dump-Class-List.jpg
>
> The CloseableCollection will show up even if there's only a single
> instance. The internal array of the ArrayDeque does get mixed into the
> samples for Object[], though.
>
> --
> Mark Raynsford | https://www.io7m.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20221229/2abf1de5/attachment.htm>
More information about the amber-dev
mailing list