Function level try recourse directives.
Mark Raynsford
org.openjdk at io7m.com
Thu Dec 29 10:28:21 UTC 2022
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 --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20221229/5072c6c6/attachment.sig>
More information about the amber-dev
mailing list