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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0u2
    • core-libs
    • generic
    • generic

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: