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

Allocation of Java stack when out of memory will crash

XMLWordPrintable

    • 1.0.2
    • sparc
    • solaris_2.4
    • Not verified

      If we run out of memory when trying to malloc a new Java stack we will crash
      rather than at least exiting politely:

      JavaStack *CreateNewJavaStack(ExecEnv *ee, JavaStack *previous_stack)
      {
          JavaStack *stack;
          ...
          stack = malloc(sizeof (*stack));
          stack->execenv = ee;

            tlindholsunw Timothy Lindholm (Inactive)
            tlindholsunw Timothy Lindholm (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: