8270925: replay dump using CICrashAt does not include inlining data

Reviewed-by: kvn, thartmann
This commit is contained in:
Dean Long 2021-07-28 18:50:21 +00:00
parent 9711033780
commit 034788a02c
4 changed files with 84 additions and 2 deletions

View file

@ -475,6 +475,9 @@ CompileWrapper::CompileWrapper(Compile* compile) : _compile(compile) {
_compile->clone_map().set_debug(_compile->has_method() && _compile->directive()->CloneMapDebugOption);
}
CompileWrapper::~CompileWrapper() {
// simulate crash during compilation
assert(CICrashAt < 0 || _compile->compile_id() != CICrashAt, "just as planned");
_compile->end_method();
_compile->env()->set_compiler_data(NULL);
}