--- a/src/hotspot/share/oops/symbol.cpp Tue May 14 11:28:44 2019 -0400
+++ b/src/hotspot/share/oops/symbol.cpp Tue May 14 11:29:18 2019 -0400
@@ -57,13 +57,13 @@
}
}
-void* Symbol::operator new(size_t sz, int len, TRAPS) throw() {
+void* Symbol::operator new(size_t sz, int len) throw() {
int alloc_size = size(len)*wordSize;
address res = (address) AllocateHeap(alloc_size, mtSymbol);
return res;
}
-void* Symbol::operator new(size_t sz, int len, Arena* arena, TRAPS) throw() {
+void* Symbol::operator new(size_t sz, int len, Arena* arena) throw() {
int alloc_size = size(len)*wordSize;
address res = (address)arena->Amalloc_4(alloc_size);
return res;