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

Hotspot JVM should not require a contiguous heap

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 1.4.0
    • hotspot
    • gc
    • x86
    • windows_xp



      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)
      ======================================================================

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: