Skip to content

Commit

Permalink
[JIT] Disable UseVtableBasedCHA by default
Browse files Browse the repository at this point in the history
Summary: Disable CHA inline by default, could be enabled by
option -XX:+UnlockDiagnosticVMOptions -XX:+UseVtableBasedCHA

Testing: jtreg

Reviewers: kuaiwei.kw, maoliang.ml

Issue: #774
  • Loading branch information
lusou-zhangquan committed Jan 19, 2024
1 parent 4d61024 commit e853f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hotspot/share/runtime/globals.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ define_pd_global(uint64_t,MaxRAM, 1ULL*G);
develop(bool, UseCHA, true, \
"Enable CHA") \
\
diagnostic(bool, UseVtableBasedCHA, true, \
diagnostic(bool, UseVtableBasedCHA, false, \
"Use vtable information during CHA") \
\
product(bool, UseTypeProfile, true, \
Expand Down

0 comments on commit e853f3f

Please sign in to comment.