Skip to main content

IV19792: THREADMXBEAN ALLTHREADIDS CAN CONTAIN 0


Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

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

Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Runtimes for Java Technology

Virtual Machine


Software version:
260


Reference #:
IV19792


Modified date:
2012-04-16

Translate my page

Content navigation