IBM Support

IV19792: THREADMXBEAN ALLTHREADIDS CAN CONTAIN 0

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: The call to
    javax.management.MBeanServerConnection.getAttribute(tb,
    \'AllThreadIds\');
    returned <OSB>1, 4, 5, 6, 7, 2, 8, 9, 10, 11, 12, 13, 14, 15,
    18, 21, 0<CSB>
    0 is invalid according to the ThreadMXBean documentation which
    states:
    Thread ID is a positive long value returned by calling the
    Thread.getId() method for a thread. The thread ID is unique
    during its lifetime. When a thread is terminated, this thread ID
    may be reused.
    .
    Stack Trace: N/A
    .
    

Local fix

Problem summary

  • The JVM contained a small timing window where a Thread would
    become visible to the management API before being fully
    constructed, resulting in the threadID being 0.
    

Problem conclusion

  • This defect will be fixed in:
    7.0.0 SR1
    6.0.1 SR2
    .
    JVM has been updated to not return Threads which have not been
    fully constructed from the management API.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV19792

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-04-16

  • Closed date

    2012-04-16

  • Last modified date

    2012-04-16

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

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

Fix information

  • Fixed component name

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R260 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"6.1","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022