Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8014090

Bug 7176220 uses PrintGCDateStamp where it should be PrintGCTimeStamp

XMLWordPrintable

    • gc
    • b01
    • Not verified

        In src/share/vm/gc_implementation/shared/gcTraceTime.cpp:
        + gclog_or_tty->date_stamp(PrintGCDateStamps);
        + gclog_or_tty->stamp(PrintGCDateStamps);

        The second added line should be PrintGCTimeStamp

        Example:
        % ./jdk6u-dev_hotspot-build/bin/java -Xmx2m -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -verbose:gc -XX:+PrintGCDateStamps HumongousAlloc
        2013-05-07T16:15:25.187+0200: 0.177: [GC 997K->294K(6464K), 0.0051910 secs]

        Notice timestamps are printed as well

              aeriksso Andreas Eriksson (Inactive)
              aeriksso Andreas Eriksson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: