heapShared.cpp: rename JavaThread parameter to current

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 20
    • Affects Version/s: 20
    • Component/s: hotspot
    • b18

      https://github.com/openjdk/jdk/blob/1e031e6a5886fba3009d8e5fa62416fe15a901b6/src/hotspot/share/cds/heapShared.cpp#L826

      void HeapShared::resolve_classes_for_subgraphs(ArchivableStaticFieldInfo fields[], JavaThread* THREAD)


      The new convention is to rename THREAD to current, and also make it not the last parameter. This way the function won't be confused with one that takes a TRAPS parameter.

            Assignee:
            Matias Saavedra Silva
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h