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

Hotspot JVM should not require a contiguous heap

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P5
    • Resolution: Duplicate
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • CPU:
      x86
    • OS:
      windows_xp

      Description



      Name: jl125535 Date: 04/21/2003


      FULL PRODUCT VERSION :
      java version "1.4.0_01"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03) Java
      HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)


      FULL OPERATING SYSTEM VERSION :
      Microsoft Windows 2000 [Version 5.00.2195]

      ADDITIONAL OPERATING SYSTEMS :
      Microsoft Windows XP [Version 5.1.2600]


      A DESCRIPTION OF THE PROBLEM :
      The JVM requires a contiguous chunk of the process's
      virtual memory address space. This is an unreasonable
      limitation.

      JUSTIFCATION:
      There exists an application that we "plugin" to that
      makes it impossible to specify a larger heap size to the
      JVM (i.e. -Xmx and -XX:MaxPermSize options). Our attempts
      to load/create a JVM in this environment fail because the
      virtual address space of the process is fragmented. Even
      though there is over 1.8G of free memory in the process,
      the largest contiguous chunk of free memory is
      considerably smaller (< 500M). Neither we, nor the
      application can control how virtual memory space is used
      (i.e. many third-party plugins) and therefore we have no
      control over how much fragmentation occurs.

      We need a JVM that can fully utilize ALL the free memory
      available to the process (within normal OS constraints ..
      i.e. given enough physical memory and/or swap space).

      (Review ID: 181087)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jleesunw Jon Lee (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: