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

Explicit GC ignored if GCLocker is active

    XMLWordPrintable

Details

    • gc
    • b20

    Description

      When a System.gc() is called, the VM operation is scheduled with no synchronization with the GCLocker and, in some cases, the Full GC immediately aborts if the GCLocker is active.

      Even though the code path is different, the cause is similar to JDK-8057573.

      I have reproduced this with both ParallelGC and CMS.

      Attachments

        Issue Links

          Activity

            People

              iwalulya Ivan Walulya
              tonyp Tony Printezis
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: