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

Change type of the number of GC workers to unsigned int (2)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u20
    • hs25
    • hotspot
    • gc
    • b10

        In 7121618 variables representing GC workers (worker id, worker id offset) have been changed from int to unsigned int.

        Since then, code reintroduced the use of int's for this type of variable; fix this by aligning the code to use uints for ints.

        The following egrep command line may be useful to find these occurrences (these may however not be all of them):

        egrep -m1 "\Wint worker" `find . -name '*.?pp'`

        shows that a least the following files (all G1) seem to be affected:

        gc_implementation/g1/concurrentG1Refine.hpp
        gc_implementation/g1/g1RemSet.hpp
        gc_implementation/g1/g1GCPhaseTimes.cpp
        gc_implementation/g1/g1HotCardCache.hpp
        gc_implementation/g1/concurrentMark.cpp
        gc_implementation/g1/dirtyCardQueue.hpp
        gc_implementation/g1/dirtyCardQueue.cpp
        gc_implementation/g1/g1GCPhaseTimes.hpp
        gc_implementation/g1/concurrentG1RefineThread.cpp
        gc_implementation/g1/g1CollectedHeap.hpp
        gc_implementation/g1/concurrentG1Refine.cpp
        gc_implementation/g1/g1CollectedHeap.cpp
        gc_implementation/g1/g1RemSet.cpp
        gc_implementation/g1/concurrentG1RefineThread.hpp
        gc_implementation/g1/g1HotCardCache.cpp
        gc_implementation/g1/g1OopClosures.hpp
        gc_implementation/g1/satbQueue.hpp
        gc_implementation/g1/satbQueue.cpp

              vkempik Vladimir Kempik
              tschatzl Thomas Schatzl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: