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

Generalize GC thread suspend/resume at safepoints

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 10
    • 9, 10
    • hotspot
    • None
    • gc
    • b31

      When a safepoint is synchronized, GC threads might need to be suspended, and similarly when the safepoint is unsynchronized, GC might need to resume those threads.

      This is currently done in an ugly way where we check if we are using CMS or G1 and then go on to use their specific mechanisms.

      I propose there should be an interface between the safepoint synchronizer and the GC to generalize this behaviour.

            eosterlund Erik Ă–sterlund
            eosterlund Erik Ă–sterlund
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: