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

SunSoft JIT can crash if malloc fails

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.1.2
    • 1.1
    • vm-legacy
    • None
    • jit
    • b01
    • generic
    • solaris_2.5.1
    • Not verified

      In JITDynamicallyCompileMethod, the setjmp() to initialize jit.abort_env is
      done fairly late. There are calls before this that can call JITFail(),
      which results in a longjmp() to a bad address. A particular example that
      crashes JavaOS is when jitMheapInit() calls jitImalloc(), which calls
      JITFail() if j_sysMalloc() fails.

      dean.long@Eng 1997-06-06

            dmcox David Cox (Inactive)
            dlong Dean Long
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: