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

Flags handling memory sizes should be of type size_t

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • gc
    • b59

        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

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

                Created:
                Updated:
                Resolved: