Skip to content
forked from openjdk/jdk

Commit

Permalink
Update to jdk-20+15
Browse files Browse the repository at this point in the history
27984: LA port of 8293353: [BACKOUT] G1: Remove redundant is-marking-active checks in C1 barrier
27982: LA port of 8292584: assert(cb != __null) failed: must be with -XX:-Inline
  • Loading branch information
loongson-jvm authored Sep 21, 2022
1 parent 1eb1c75 commit 90ce205
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 19 deletions.
4 changes: 0 additions & 4 deletions src/hotspot/cpu/loongarch/c1_LIRGenerator_loongarch_64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1057,10 +1057,6 @@ void LIRGenerator::do_FmaIntrinsic(Intrinsic* x) {
}
}

void LIRGenerator::do_continuation_doYield(Intrinsic* x) {
fatal("Continuation.doYield intrinsic is not implemented on this platform");
}

void LIRGenerator::do_vectorizedMismatch(Intrinsic* x) {
fatal("vectorizedMismatch intrinsic is not implemented on this platform");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,15 @@ void G1BarrierSetAssembler::generate_c1_pre_barrier_runtime_stub(StubAssembler*
Label done;
Label runtime;

// Is marking still active?
if (in_bytes(SATBMarkQueue::byte_width_of_active()) == 4) { // 4-byte width
__ ld_w(tmp, in_progress);
} else {
assert(in_bytes(SATBMarkQueue::byte_width_of_active()) == 1, "Assumption");
__ ld_b(tmp, in_progress);
}
__ beqz(tmp, done);

// Can we store original value in the thread's buffer?
__ ld_d(tmp, queue_index);
__ beqz(tmp, runtime);
Expand Down
9 changes: 0 additions & 9 deletions src/hotspot/cpu/loongarch/stubGenerator_loongarch_64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5237,12 +5237,6 @@ class StubGenerator: public StubCodeGenerator {
return nullptr;
}

RuntimeStub* generate_cont_doYield() {
if (!Continuations::enabled()) return nullptr;
Unimplemented();
return nullptr;
}

#if INCLUDE_JFR

#undef __
Expand Down Expand Up @@ -5349,9 +5343,6 @@ class StubGenerator: public StubCodeGenerator {
StubRoutines::_cont_thaw = generate_cont_thaw();
StubRoutines::_cont_returnBarrier = generate_cont_returnBarrier();
StubRoutines::_cont_returnBarrierExc = generate_cont_returnBarrier_exception();
StubRoutines::_cont_doYield_stub = generate_cont_doYield();
StubRoutines::_cont_doYield = StubRoutines::_cont_doYield_stub == nullptr ? nullptr
: StubRoutines::_cont_doYield_stub->entry_point();

JFR_ONLY(StubRoutines::_jfr_write_checkpoint_stub = generate_jfr_write_checkpoint();)
JFR_ONLY(StubRoutines::_jfr_write_checkpoint = StubRoutines::_jfr_write_checkpoint_stub == nullptr ? nullptr
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,12 +280,6 @@ address TemplateInterpreterGenerator::generate_CRC32C_updateBytes_entry(Abstract
return NULL;
}

address TemplateInterpreterGenerator::generate_Continuation_doYield_entry(void) {
if (!Continuations::enabled()) return nullptr;
Unimplemented();
return NULL;
}

//
// Various method entries
//
Expand Down

0 comments on commit 90ce205

Please sign in to comment.