On Sat, 30 Dec 2023 17:52:41 GMT, Markus KARG <d...@openjdk.org> wrote:

>> `com.sun.management.ThreadMXBean#getCurrentThreadAllocatedBytes` is 
>> reliable, isn't it?
>
> According to its JavaDocs it only returns *an approximation*, whatever that 
> means. And it is measuring memory, while I already explained that the aim of 
> this PR IMHO is not to spare memory, but to spare *time*. I wonder why we do 
> not simply merge this PR as-is to get the actual benefits integrated ASAP 
> instead of holding the train by heating up this discussion again?

@mkarg apologies, of course I meant black box test.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/16879#discussion_r1438684031

Reply via email to