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

MacroAssembler::unimplemented calls global operator new[]

    Details

    • Subcomponent:
    • Resolved In Build:
      b03
    • CPU:
      generic
    • OS:
      generic

      Description

      There are several copies of the following function, in the various cpu-specific MacroAssembler classes:

      void MacroAssembler::unimplemented(const char* what) {
        char* b = new char[1024];
        jio_snprintf(b, 1024, "unimplemented: %s", what);
        stop(b);
      }

      That "new char[1024]" is a call to global operator new[], which is forbidden for HotSpot code.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                thartmann Tobias Hartmann
                Reporter:
                kbarrett Kim Barrett
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: