IBM Support

IJ32524: CRASH IN MM_SCAVENGERDELEGATE::SIGNALTHREADSTOFLUSHCACHES

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: GPF is received
    .
    Stack Trace:
    MM_ScavengerDelegate::signalThreadsToFlushCaches(MM_EnvironmentB
    ase*)+0xd4
    
    MM_Scavenger::shouldDoFinalNotify(MM_EnvironmentStandard*)+0x5e
    
    MM_Scavenger::getNextScanCache(MM_EnvironmentStandard*)+0xc00
        MM_Scavenger::workThreadScan(MM_EnvironmentStandard*)+0x41e
        MM_ConcurrentScavengeTask::run(MM_EnvironmentBase*)+0x78
    
    MM_ParallelDispatcher::slaveEntryPoint(MM_EnvironmentBase*)+0x11
    4
        dispatcher_thread_proc2(OMRPortLibrary*,void*)+0x19a
        omrsig_protect+0x458
        dispatcher_thread_proc+0x6c
    .
    

Local fix

Problem summary

  • The issue is caused due to incorrect lock synchronization. In
    Concurrent Scavenger, when close to terminating concurrent phase
    and signaling mutator threads to flush their copy caches, prior
    to thread iteration thread lock is acquired. However, it's taken
    after the iterator construction. The main thread may race and
    terminate before we acquire the lock and start iteration.
    PR: https://github.com/eclipse-openj9/openj9/pull/12566
    

Problem conclusion

  • The JVM has been updated to construct the iterator after
    acquiring the lock.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR6 FP35  (8.0.6.35)
    .
    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

    IJ32524

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-05-05

  • Closed date

    2021-05-05

  • Last modified date

    2021-05-05

  • 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

  • R270 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":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
22 February 2022