loss of cause??

Mikael Gerdin mikael.gerdin at oracle.com
Thu Oct 10 14:26:31 UTC 2013


On 10/10/2013 04:23 PM, Pierre Laporte wrote:
> Oh I did not know that one.
>
> When I tested with 1.8.0_b99, the cause was printed by default, which
> suggests that the flag is automatically turned on with PrintGCDetails.
> But it does not look like this is 1.8.0_40. What is going to be the
> "enabled policy" for this flag in the future ?

I'll assume you mean 1.7.0_40.
In that case, for 8+ it will be enabled and for 7 it will be disabled by 
default.

/Mikael

>
>
> On Thu, Oct 10, 2013 at 4:00 PM, Mikael Gerdin <mikael.gerdin at oracle.com
> <mailto:mikael.gerdin at oracle.com>> wrote:
>
>     On 10/10/2013 03:46 PM, Pierre Laporte wrote:
>
>         This is also true for Linux :
>         http://www.pingtimeout.fr/__2013/08/gc-log-format-change.__html
>         <http://www.pingtimeout.fr/2013/08/gc-log-format-change.html>
>
>
>     If you want the GC causes for all gcs in 7u40 please use
>     -XX:+PrintGCCause
>
>     /Mikael
>
>
>
>         On Thu, Oct 10, 2013 at 3:30 PM, Kirk Pepperdine
>         <kirk at kodewerk.com <mailto:kirk at kodewerk.com>
>         <mailto:kirk at kodewerk.com <mailto:kirk at kodewerk.com>>> wrote:
>
>              Hi all,
>
>              I've just noticed this in a GC log.
>
>              642.015: [Full GC [PSYoungGen: 1904K->0K(79360K)] [ParOldGen:
>              337438K->338524K(442368K)] 339342K->338524K(521728K)
>         [PSPermGen:
>              13239K->13239K(21504K)], 4.4455297 secs] [Times: user=7.94
>         sys=0.02,
>              real=4.44 secs]
>
>
>              This collection was triggered by a call to System.gc().
>
>              More info
>              D:\dev\>"C:\Program Files\Java\jdk1.7.0_40\bin\__java" -version
>              java version "1.7.0_40"
>              Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
>              Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
>
>              Flags used -Xloggc:gc.log -XX:+PrintGCDetails
>
>
>              Same app running in OSX produces;
>
>              2.435: [Full GC (System) [PSYoungGen: 32K->0K(24064K)]
>         [ParOldGen:
>              3666K->3666K(54976K)] 3698K->3666K(79040K) [PSPermGen:
>              9620K->9620K(22272K)], 0.0311970 secs] [Times: user=0.06
>         sys=0.00,
>              real=0.03 secs]
>
>              Obviously triggered by a full GC
>
>              flash-2:kirk$ java -version
>              java version "1.7.0_40"
>              Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
>              Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
>
>              Flags used -Xloggc:gc.log -XX:+PrintGCDetails
>
>              I've not checked for this on Linux yet.
>
>              So, it looks as though the (System) has been lost on windows?
>
>              Regards,
>              Kirk
>
>
>
>
>
>
>
>
>
>
>         --
>
>         Pierre Laporte
>         @pingtimeout <https://twitter.com/__pingtimeout
>         <https://twitter.com/pingtimeout>>
>         pierre at pingtimeout.fr <mailto:pierre at pingtimeout.fr>
>         <mailto:pierre at pingtimeout.fr <mailto:pierre at pingtimeout.fr>>
>         http://www.pingtimeout.fr/
>
>
>
>
>
> --
>
> Pierre Laporte
> @pingtimeout <https://twitter.com/pingtimeout>
> pierre at pingtimeout.fr <mailto:pierre at pingtimeout.fr>
> http://www.pingtimeout.fr/




More information about the hotspot-gc-dev mailing list