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

JMC/JFR - wrong interval time display (additional 18 secs per 1 min)

XMLWordPrintable

    • jfr
    • x86_64
    • windows_7

      FULL PRODUCT VERSION :
      java version "1.8.0_101"
      Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
      Java HotSpot(TM) Client VM (build 25.101-b13, mixed mode)

      FULL OS VERSION :
      Microsoft Windows [Version 6.1.7601]
      * Windows 7 Japanese

      A DESCRIPTION OF THE PROBLEM :
      With the below environment and test cases,
      --------------------------------
      - OS : Windows 7 (Japanese)
      - JDK : JDK 8u101(lastest JDK as of now).
      - Monitoring application : for example, Java2D demo jar(which is included in JDK demo and sample files) in local
      --------------------------------

      After I completed JFR recording via GUI with default setting and recording time = 1 min, when I opened the recorded jfr, Interval time of JFR screen shows 1 min 18s! (additional 18 secs are added).
      If I try recording time = 2 min, it showed 2 min 37s.

      This issue does not happen in all the PCs but for some PCS, this happens.

      * I tried the below but no success.
       - Re-installation of JDK while removing JFR related files (.jfr folder under user home, - lib/missioncontrol folder under JDK)
       - Tried 32 bit, 64 bit
       - Tried English UI and Japanese UI

      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Did not try

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      * This only happens for some Windows 7 (Japanese - Not sure whether this is relevant) PCs.
      And this happens always for those PCs.

      Steps :
      1. Run some Java demo files(like Java 2D Demo or Font 2D Test etc) with JFR option parameters (-XX:+UnlockCommercialFeatures -XX:+FlightRecorder)
      2. Run jmc and set Recording time : 1 min
      3. After recording, in JMC screen, Interval time shows 1 min 18s (unnecessary additional 18s).
      * Similar issue happens when I set 2 min => Interval shows 2 min 37s etc


      EXPECTED VERSUS ACTUAL BEHAVIOR :
      In other environment (other PCs, Windows 2012 server etc), interval time correctly shows 1 min when we set Recording time : 1 min.
      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      No errors. When I run jmc with Debug mode, it shows no error.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      This can be reproduced Java demo and sample files like Java 2D Demo or Font 2D Test.
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      This only happens for some Windows 7 PCs.

            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: