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

Shenandoah control thread should be able to run at critical priority

    XMLWordPrintable

    Details

    • Subcomponent:
      gc
    • Resolved In Build:
      b05

      Backports

        Description

        Current Shenandoah control thread runs with the default priority (NearMaxPriority):

        ShenandoahControlThread::ShenandoahControlThread():
          create_and_start();

        ConcurrentGCThread:
          // Create and start the thread (setting it's priority.)
          void create_and_start(ThreadPriority prio = NearMaxPriority);

        CMS and others are able to use critical thread priority, for example:

          create_and_start(UseCriticalCMSThreadPriority ? CriticalPriority : NearMaxPriority);

        We should consider doing the same for Shenandoah.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                shade Aleksey Shipilev
                Reporter:
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: