Skip to content

Commit aa3b4e4

Browse files
committed
8305236: Some LoadLoad barriers in the interpreter are unnecessary after JDK-8220051
Reviewed-by: phh Backport-of: 2c70828e7dc78783c174e3f93c94b6e2439d2dfb
1 parent bda6723 commit aa3b4e4

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/hotspot/cpu/aarch64/templateTable_aarch64.cpp

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1748,12 +1748,6 @@ void TemplateTable::float_cmp(bool is_float, int unordered_result)
17481748

17491749
void TemplateTable::branch(bool is_jsr, bool is_wide)
17501750
{
1751-
// We might be moving to a safepoint. The thread which calls
1752-
// Interpreter::notice_safepoints() will effectively flush its cache
1753-
// when it makes a system call, but we need to do something to
1754-
// ensure that we see the changed dispatch table.
1755-
__ membar(MacroAssembler::LoadLoad);
1756-
17571751
__ profile_taken_branch(r0, r1);
17581752
const ByteSize be_offset = MethodCounters::backedge_counter_offset() +
17591753
InvocationCounter::counter_offset();
@@ -1969,12 +1963,6 @@ void TemplateTable::if_acmp(Condition cc)
19691963

19701964
void TemplateTable::ret() {
19711965
transition(vtos, vtos);
1972-
// We might be moving to a safepoint. The thread which calls
1973-
// Interpreter::notice_safepoints() will effectively flush its cache
1974-
// when it makes a system call, but we need to do something to
1975-
// ensure that we see the changed dispatch table.
1976-
__ membar(MacroAssembler::LoadLoad);
1977-
19781966
locals_index(r1);
19791967
__ ldr(r1, aaddress(r1)); // get return bci, compute return bcp
19801968
__ profile_ret(r1, r2);

0 commit comments

Comments
 (0)