Skip to content

Commit 4219508

Browse files
author
duke
committed
Automatic merge of jdk:master into master
2 parents 49dca2f + 59dc849 commit 4219508

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hotspot/share/code/codeBlob.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,14 +301,15 @@ CodeBlob* CodeBlob::create(CodeBlob* archived_blob,
301301
name,
302302
archived_reloc_data,
303303
archived_oop_maps);
304+
assert(blob != nullptr, "sanity check");
305+
304306
#ifndef PRODUCT
305307
blob->use_remarks(archived_asm_remarks);
306308
archived_asm_remarks.clear();
307309
blob->use_strings(archived_dbg_strings);
308310
archived_dbg_strings.clear();
309311
#endif // PRODUCT
310312

311-
assert(blob != nullptr, "sanity check");
312313
// Flush the code block
313314
ICache::invalidate_range(blob->code_begin(), blob->code_size());
314315
CodeCache::commit(blob); // Count adapters

0 commit comments

Comments
 (0)