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

Documentation required for -Xm flags effect on SoftReference clearing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.3.0
    • docs
    • beta2
    • generic
    • generic



      Name: rmT116609 Date: 04/13/2001


      affects all Hotspot versions AFAIK, and -classic too.

      SoftReferences are cleared by the VM under low memory conditions. The -Xmx and -
      Xms control this behaviour, and it's different under the Server VM compared to
      the Client VM apparently.

      But, _it's not documented_. This means that any developers wanting to inform
      their users how to control their applications memory use have to test it on
      each VM they support to figure out how it works, which is time consuming and
      annoying.

      Please can you document the affect of the -Xm flags on SoftReference clearance
      in future. I wouldn't want to think that Sun are letting their vested hardware
      interests interfere with the Java platform, now would I? :-)
      (Review ID: 120542)
      ======================================================================

            asommere Alan Sommerer (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: