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

Flags handling memory sizes should be of type size_t

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b59

      Backports

        Description

        Since JDK-8054823 it is possible to use size_t as the type for the JVM command line flags. There are a number of flags that are handling memory sizes and should be changed to use size_t.

        List of flags to be updated:

        BaseFootPrintEstimate
        CMSBitMapYieldQuantum
        CMSConcMarkMultiple
        CMSOldPLABMax
        CMSOldPLABMin
        CMSRescanMultiple
        CMSScheduleRemarkEdenSizeThreshold
        CMSYoungGenPerWorker
        CodeCacheExpansionSize
        CodeCacheMinimumUseSpace
        CodeCacheSegmentSize
        CompressedClassSpaceSize
        ErgoHeapSizeLimit
        GCLogFileSize
        HandleAllocationLimit
        HeapBaseMinAddress
        HeapDumpSegmentSize
        HeapSizePerGCThread
        InitialBootClassLoaderMetaspaceSize
        InitialCodeCacheSize
        InitialHeapSize
        JVMInvokeMethodSlack
        LargePageHeapSizeThreshold
        LargePageSizeInBytes
        MarkStackSize
        MarkStackSizeMax
        MaxDirectMemorySize
        MaxHeapSize
        MaxMetaspaceExpansion
        MaxMetaspaceSize
        MaxNewSize
        MetaspaceSize
        MinHeapDeltaBytes
        MinMetaspaceExpansion
        MinTLABSize
        NewSize
        NewSizeThreadIncrease
        NonNMethodCodeHeapSize
        NonProfiledCodeHeapSize
        NUMASpaceResizeRate
        OldPLABSize
        OldSize
        PretenureSizeThreshold
        ProfiledCodeHeapSize
        ReservedCodeCacheSize
        SharedMiscCodeSize
        SharedMiscDataSize
        SharedReadOnlySize
        SharedReadWriteSize
        ThreadSafetyMargin
        TLABSize
        TotalHandleAllocationLimit
        YoungPLABSize

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jwilhelm Jesper Wilhelmsson
                  Reporter:
                  jwilhelm Jesper Wilhelmsson
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: