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

java/nio/channels/FileChannel/ExpandingMap.java fails with java.lang.InternalError

XMLWordPrintable

    • b14
    • ppc
    • linux

      The test java/nio/channels/FileChannel/ExpandingMap.java failed contantly with java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code.

      I reproduced the issue manually and tried with different combinations of JVM options (-Xcomp/-Xmixed and -server/-client). However in all cases I got the same fault as one followed below:

      ejdk1.7.0_60/bin/java -cp JTwork/classes/java/nio/channels/FileChannel ExpandingMap
      map 0 -> 20971520
      map 16777216 -> 23592960
      map 16777216 -> 26542080
      map 16777216 -> 29859840
      map 16777216 -> 33554432
      map 33554432 -> 33592320
      map 33554432 -> 37791360
      map 33554432 -> 42515280
      map 33554432 -> 47829690
      map 33554432 -> 50331648
      map 50331648 -> 53808401
      map 50331648 -> 60534451
      map 50331648 -> 67108864
      map 67108864 -> 68101257
      map 67108864 -> 76613914
      map 67108864 -> 83886080
      map 83886080 -> 86190653
      map 83886080 -> 96964484
      map 83886080 -> 100663296
      map 100663296 -> 109085044
      map 100663296 -> 117440512
      map 117440512 -> 122720674
      map 117440512 -> 134217728
      map 134217728 -> 138060758
      map 134217728 -> 150994944
      map 150994944 -> 155318352
      map 150994944 -> 167772160
      map 167772160 -> 174733146
      map 167772160 -> 184549376
      map 184549376 -> 196574789
      map 184549376 -> 201326592
      map 201326592 -> 218103808
      map 218103808 -> 221146637
      map 218103808 -> 234881024
      map 234881024 -> 248789966
      map 234881024 -> 251658240
      map 251658240 -> 268435456
      map 268435456 -> 279888711
      Exception in thread "main" java.lang.InternalError: a fault occurred in a recent unsafe memory access operation in compiled Java code
              at java.lang.Long.toString(Long.java:267)
              at java.lang.String.valueOf(String.java:2966)
              at ExpandingMap.main(ExpandingMap.java:102)

            bpittore Bill Pittore (Inactive)
            dkononenko Denis Kononenko
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: