Skip to content

Commit

Permalink
JDK-8342823
Browse files Browse the repository at this point in the history
  • Loading branch information
MBaesken committed Oct 24, 2024
1 parent 85774b7 commit d28c366
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/hotspot/share/ci/ciEnv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,9 @@ void ciEnv::dump_replay_data_helper(outputStream* out) {

// The very first entry is the InstanceKlass of the root method of the current compilation in order to get the right
// protection domain to load subsequent classes during replay compilation.
ciInstanceKlass::dump_replay_instanceKlass(out, task()->method()->method_holder());
if (this->task() != nullptr) {
ciInstanceKlass::dump_replay_instanceKlass(out, task()->method()->method_holder());
}

for (int i = 0; i < objects->length(); i++) {
objects->at(i)->dump_replay_data(out);
Expand Down

0 comments on commit d28c366

Please sign in to comment.