--- a/src/hotspot/share/ci/ciSymbol.cpp Tue May 14 11:28:44 2019 -0400
+++ b/src/hotspot/share/ci/ciSymbol.cpp Tue May 14 11:29:18 2019 -0400
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1999, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -132,12 +132,7 @@
// Make a ciSymbol from a C string (implementation).
ciSymbol* ciSymbol::make_impl(const char* s) {
EXCEPTION_CONTEXT;
- TempNewSymbol sym = SymbolTable::new_symbol(s, THREAD);
- if (HAS_PENDING_EXCEPTION) {
- CLEAR_PENDING_EXCEPTION;
- CURRENT_THREAD_ENV->record_out_of_memory_failure();
- return ciEnv::_unloaded_cisymbol;
- }
+ TempNewSymbol sym = SymbolTable::new_symbol(s);
return CURRENT_THREAD_ENV->get_symbol(sym);
}