< prev index next >
src/share/vm/opto/compile.cpp
Print this page
rev 8838 : 8155635: C2: Mixed unsafe accesses break alias analysis
Reviewed-by: kvn
rev 8910 : full patch for jfr
*** 1,7 ****
/*
! * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 3586,3599 ****
if (_failure_reason == NULL) {
// Record the first failure reason.
_failure_reason = reason;
}
! EventCompilerFailure event;
if (event.should_commit()) {
! event.set_compileID(Compile::compile_id());
! event.set_failure(reason);
event.commit();
}
if (!C->failure_reason_is(C2Compiler::retry_no_subsuming_loads())) {
C->print_method(PHASE_FAILURE);
--- 3586,3599 ----
if (_failure_reason == NULL) {
// Record the first failure reason.
_failure_reason = reason;
}
! EventCompilationFailure event;
if (event.should_commit()) {
! event.set_compileId(Compile::compile_id());
! event.set_failureMessage(reason);
event.commit();
}
if (!C->failure_reason_is(C2Compiler::retry_no_subsuming_loads())) {
C->print_method(PHASE_FAILURE);
< prev index next >