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.
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.
- relates to
-
JDK-8173070 Remove ValueObj class for allocation subclassing for runtime code
-
- Resolved
-