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

Move code related to GC threads calculation out of AdaptiveSizePolicy

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 12
    • 12
    • hotspot
    • gc
    • b24

      The following three functions are unrelated to the main functionality of AdaptiveSizePolicy:
      calc_default_active_workers()
      calc_active_workers()
      calc_active_conc_workers()

      They were introduced in JDK-6593758 (http://hg.openjdk.java.net/jdk8/jdk8/hotspot/rev/bca17e38de00). The follow-up JDK-6858051 added a WorkerManager class, which is a better location for these 3 functions.

      In addition, G1 does not have AdaptiveSizePolicy, yet currently G1 code needs to include adaptiveSizePolicy.hpp to call 2 of the 3 functions.

            manc Man Cao
            manc Man Cao
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: