mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8206953: compiler/profiling/TestTypeProfiling.java fails when JVMCI build disabled
Restore original behavior when C2 is used Reviewed-by: thartmann, mdoerr, dnsimon, gdub
This commit is contained in:
parent
0df02a4cb8
commit
dbb21a2a92
2 changed files with 5 additions and 12 deletions
|
@ -2044,7 +2044,7 @@ Deoptimization::update_method_data_from_interpreter(MethodData* trap_mdo, int tr
|
|||
bool ignore_maybe_prior_recompile;
|
||||
assert(!reason_is_speculate(reason), "reason speculate only used by compiler");
|
||||
// JVMCI uses the total counts to determine if deoptimizations are happening too frequently -> do not adjust total counts
|
||||
bool update_total_counts = JVMCI_ONLY(false) NOT_JVMCI(true);
|
||||
bool update_total_counts = true JVMCI_ONLY( && !UseJVMCICompiler);
|
||||
query_update_method_data(trap_mdo, trap_bci,
|
||||
(DeoptReason)reason,
|
||||
update_total_counts,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue