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

(bf) test/java/nio/Buffer/LimitDirectMemory.sh fails on 32-bit Solaris

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 5.0u2
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      This regression test fails repeatedly on TL nightly Solaris Sparc
      builds for 5.0u2:

        Testing: -XX:MaxDirectMemorySize=42g -cp /u/w/auto/5.0u2/build/316/jt/work/classes/java/nio/Buffer LimitDirectMemory false 0 DEFAULT
        --- failed
        ----------System.err:(5/300)----------
        Exception in thread "main" java.lang.OutOfMemoryError: Direct buffer memory
      at java.nio.Bits.reserveMemory(Bits.java:632)
      at java.nio.DirectByteBuffer.<init>(DirectByteBuffer.java:95)
      at java.nio.ByteBuffer.allocateDirect(ByteBuffer.java:288)
      at LimitDirectMemory.main(LimitDirectMemory.java:39)
        result: Failed. Execution failed: exit code 1


      Related bugs: 4862640, 5042840.
      Those refer only to 64-bit machines, though, while this failure does not.


      ###@###.### 2004-11-13 04:17:48 GMT

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                iris Iris Clark
                Reporter:
                sseligmasunw Scott Seligman (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: