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

Allocation of Java stack when out of memory will crash

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.0.2
    • CPU:
      sparc
    • OS:
      solaris_2.4
    • Verification:
      Not verified

      Description

      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;

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: