Move code related to GC threads calculation out of AdaptiveSizePolicy

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 12
    • Affects Version/s: 12
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: