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

Improve code quality of StarTask

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Not an Issue
    • P4
    • tbd
    • 9, 10
    • hotspot
    • gc

    Description

      While adding a similar class as StarTask for tagging LSBs of elements in task queue called G1TaskQueueEntry in JDK-8168467, we noticed several code quality related issues.

      - need for a define to suppress MSVC warnings due to two assignment operator overloads (still pending discussion)
      - copy-assign w/o copy-construct (which is often considered a bad smell)
      - implicit conversions from oop/narrowoop using the constructors

      Look into fixing this and potentially also trying to reuse code for both in some way.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: