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

Need to deal gracefully with unsafe operations that access invalid memory

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 1.4.0
    • hotspot
    • generic
    • generic

      I'm submitting this per a conversation earlier today with gri and kbr.

      HotSpot needs to deal more gracefully with SIGSEGV, SIGBUS, and similar OS
      events that occur when an unsafe get or put operation accesses invalid memory.
      Whether such an invocation returns zero, returns an arbitrary value, or throws
      an exception doesn't really matter -- the important thing is to avoid crashing
      the VM.

      This is required by NIO in order to support memory-mapped files.

      I'm filing related bugs under both C1 and C2.

      -- mr@eng 2001/5/3

            rgottliesunw Robert Gottlieb (Inactive)
            mr Mark Reinhold
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: