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

Unaligned memory access on Solaris within java.io.BufferedInputStream

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Duplicate
    • Affects Version/s: 6u14
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_10

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0_12"
      Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
      Java HotSpot(TM) Server VM (build 11.2-b01, mixed mode)

      (Error also occurs in 1.6.0_14)

      FULL OS VERSION :
      SunOS 5.10 Generic_137137-09 sun4v sparc SUNW,SPARC-Enterprise-T5220

      A DESCRIPTION OF THE PROBLEM :
      During the normal operation of our application we read/write lots of data. Our code uses the java.io.BufferedInputStream class to read this data. Intermittently the JVM will crash and produce a Hot Spot error, stating the problematic frame as java.io.BufferedInputStream.read().

      Initial research into the error has drawn our attention to Unaligned Memory Access issues that can occur in the Solaris SPARC architecture. We have the same set up on a RedHat Linux environment (on an HP server) and no Hot Spot errors occur, though research indicates x86 architectures can handled unaligned memory access.

      Another update is that the VMs did not have the -d64 flag set, though the version of java used to launch them was the 64-bit version, as detailed in the bug report. I'm not certain what effect, if any, this would have had.

      THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: The testing we have done when the -Xint flag is set on the VMs shows that the issue does not occur.

      THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Did not try

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Attached seperatly


      REPRODUCIBILITY :
      This bug can be reproduced occasionally.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              cfang Changpeng Fang (Inactive)
              Reporter:
              ndcosta Nelson Dcosta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: