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

Parallel: Refactor PSThreadRootsTaskClosure

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • None
    • None
    • hotspot
    • gc

      This closure takes worker_id as the argument and use that to obtain `PSPromotionManager*`. In the construction site of the closure, there is already `PSPromotionManager*`, which can be used instead of the `worker_id`.

      PSThreadRootsTaskClosure(uint worker_id)
      PSPromotionManager* pm = PSPromotionManager::gc_thread_promotion_manager(_worker_id);

            ayang Albert Yang
            ayang Albert Yang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: