java.lang.Runtime.maxMemory()/availableProcessors()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.3.0, 1.3.1
    • Component/s: core-libs
    • beta
    • generic, x86, sparc
    • generic, solaris_8, windows_nt

      Need to have a function which returns the max heap size (ie what is set by -Xmx). This might be in class Runtime and look like:

      public long maxMemory();

      We alse need a function returning the number of processors on the underlying hardware. This could again be in class Runtime and look like:

      public int processorCount();

            Assignee:
            Mark Reinhold
            Reporter:
            Steve Wilson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: