mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8064811
: Use THREAD instead of CHECK_NULL in return statements
Reviewed-by: coleenp, simonis, dholmes
This commit is contained in:
parent
3b31df26c8
commit
95704b233c
25 changed files with 53 additions and 54 deletions
|
@ -152,7 +152,7 @@ Method* Klass::uncached_lookup_method(Symbol* name, Symbol* signature, MethodLoo
|
|||
|
||||
void* Klass::operator new(size_t size, ClassLoaderData* loader_data, size_t word_size, TRAPS) throw() {
|
||||
return Metaspace::allocate(loader_data, word_size, /*read_only*/false,
|
||||
MetaspaceObj::ClassType, CHECK_NULL);
|
||||
MetaspaceObj::ClassType, THREAD);
|
||||
}
|
||||
|
||||
Klass::Klass() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue