Review request: 8009813 NMT should wait all collected data to be processed before generates report when PrintNMTStatistics option is specified
David Holmes
david.holmes at oracle.com
Wed Mar 13 15:52:47 PDT 2013
On 14/03/2013 12:52 AM, Zhengyu Gu wrote:
> This is a simple change that has NMT to wait for collected data to be
> processed, before it prints out tracking data at JVM exit when
> PrintNMTStatisitcs option is specified.
I'm a little concerned as to whether it is always safe to perform the
actions that the wait performs, during this late phase of VM shutdown.
Is there any possibility that the thread we will wait for can not in
fact signal us? What is that thread and what might it be dooing?
Thanks,
David
> Without the wait, the data can be empty for short-lived application, or
> might not match the data collected through other methods.
>
> JBS: https://jbs.oracle.com/bugs/browse/JDK-8009813
> Webrev: http://cr.openjdk.java.net/~zgu/8009813/webrev.00/
>
> Test:
> - JPRT
> - vm.quick.testlist on Linux 32
>
>
> Thanks,
>
> -Zhengyu
More information about the hotspot-dev
mailing list