Use restricted_align_down in collector policy code

XMLWordPrintable

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

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

                Created:
                Updated:
                Resolved: