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

Use restricted_align_down in collector policy code

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • hs25
    • hs25
    • hotspot
    • gc
    • b59

        A recent change moved restricted_align_down() from collectorPolicy.cpp to metaspace.cpp since the only usages of that method was moved there. There is code in collectorPolicy.cpp that would benefit from using restricted_align_down() so the method should be moved to globalDefinitions.hpp where the other alignment methods are defined. It should also get a new name to follow the pattern used in globalDefinitions.hpp.

              jwilhelm Jesper Wilhelmsson
              jwilhelm Jesper Wilhelmsson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: