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

java/foreign/TestMismatch.java still fails on 32-bit platforms

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • None
    • 16
    • core-libs
    • None

    Description

      $ CONF=linux-x86-server-fastdebug make images run-test TEST=java/foreign/TestMismatch.java

      test TestMismatch.testLarge(): failure
      java.lang.OutOfMemoryError: Unable to allocate 2147483660 bytes
      at java.base/jdk.internal.misc.Unsafe.allocateMemory(Unsafe.java:632)
      at jdk.incubator.foreign/jdk.internal.foreign.NativeMemorySegmentImpl.makeNativeSegment(NativeMemorySegmentImpl.java:91)
      at jdk.incubator.foreign/jdk.incubator.foreign.MemorySegment.allocateNative(MemorySegment.java:612)
      at jdk.incubator.foreign/jdk.incubator.foreign.MemorySegment.allocateNative(MemorySegment.java:559)
      at TestMismatch.testLarge(TestMismatch.java:114)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

      Attachments

        Issue Links

          There are no Sub-Tasks for this issue.

          Activity

            People

              mcimadamore Maurizio Cimadamore
              shade Aleksey Shipilev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: