VOOZH about

URL: https://www.ibm.com/support/pages/apar/IV76967

⇱ IV76967: DUPLICATE % ON HPROF CPU SAMPLES REPORT


IV76967: DUPLICATE % ON HPROF CPU SAMPLES REPORT

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: N/A
    .
    The CPU samples report generated by the HPROF profiler with the
    JVM
    option -Xrunhprof:cpu=samples,interval=100,file=... produces too
    many
    percent signs (%% instead of %).
    
    
    
    CPU SAMPLES BEGIN (total = 975) Mon Aug 25 14:11:40 2014
    
    rank self accum count trace method
    
    1 60.00%% 60.00%% 585 300263
    java.io.FileOutputStream.writeBytes
    2 14.56%% 74.56%% 142 300289 com.ibm.jzos.Bsam.writeBlock
    
    3 8.51%% 83.08%% 83 300103 com.ibm.jzos.Bsam.readBlock
    
    4 7.18%% 90.26%% 70 300293
    java.io.FileInputStream.readBytes
    
    
    According to the documentation, it should be only one. (see IBM
    SDK,
    Java Technology Edition 6.0.0 > Diagnostic guide for IBM SDK,
    Java
    Technology Edition, Version 6 > Using diagnostic tools > Using
    the
    HPROF Profiler > Explanation of the HPROF output file, at the
    bottom
    of the page)
    
    
    
    CPU SAMPLES BEGIN (total = 714) Fri Aug 30 15:37:16 2002
    
    rank self accum count trace method
    
    1 76.28% 76.28% 501 77 MyThread2.bigMethod
    
    2 6.92% 83.20% 47 75 MyThread2.smallMethod
    

Local fix

Problem summary

  • Hprof internally uses a function which uses %x as format
    specifier and hence used %% in order to differentiate it from
    the regular format specifier. However, the function was later
    modified to use another function which do not use %x as format
    specifier and hence %% was treated as the regular text.
    

Problem conclusion

  • The JDK has been updated to avoid the duplicate % in the Hprof
    output.
    .
    This APAR will be fixed in the following Java Releases:
     8 SR3 FP12 (8.0.3.12)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
     https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV76967

  • Reported component name

    JAVA CLASS LIBS

  • Reported component ID

    620700130

  • Reported release

    600

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-09-14

  • Closed date

    2016-09-20

  • Last modified date

    2016-09-20

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

  • Fixed component name

    JAVA CLASS LIBS

  • Fixed component ID

    620700130

Applicable component levels

  • R800 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVQ3Y","label":"Java Class Libraries"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.0","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
20 September 2016