8064811: Use THREAD instead of CHECK_NULL in return statements

Reviewed-by: coleenp, simonis, dholmes
This commit is contained in:
Stefan Karlsson 2014-11-14 09:47:09 +01:00
parent 3b31df26c8
commit 95704b233c
25 changed files with 53 additions and 54 deletions

View file

@ -658,7 +658,7 @@ MethodData* MethodData::allocate(ClassLoaderData* loader_data, methodHandle meth
int size = MethodData::compute_allocation_size_in_words(method);
return new (loader_data, size, false, MetaspaceObj::MethodDataType, THREAD)
MethodData(method(), size, CHECK_NULL);
MethodData(method(), size, THREAD);
}
int MethodData::bytecode_cell_count(Bytecodes::Code code) {