Skip to content

Commit 90ce205

Browse files
authored
Update to jdk-20+15
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
1 parent 1eb1c75 commit 90ce205

File tree

4 files changed

+9
-19
lines changed

4 files changed

+9
-19
lines changed

src/hotspot/cpu/loongarch/c1_LIRGenerator_loongarch_64.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,10 +1057,6 @@ void LIRGenerator::do_FmaIntrinsic(Intrinsic* x) {
10571057
}
10581058
}
10591059

1060-
void LIRGenerator::do_continuation_doYield(Intrinsic* x) {
1061-
fatal("Continuation.doYield intrinsic is not implemented on this platform");
1062-
}
1063-
10641060
void LIRGenerator::do_vectorizedMismatch(Intrinsic* x) {
10651061
fatal("vectorizedMismatch intrinsic is not implemented on this platform");
10661062
}

src/hotspot/cpu/loongarch/gc/g1/g1BarrierSetAssembler_loongarch.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,15 @@ void G1BarrierSetAssembler::generate_c1_pre_barrier_runtime_stub(StubAssembler*
403403
Label done;
404404
Label runtime;
405405

406+
// Is marking still active?
407+
if (in_bytes(SATBMarkQueue::byte_width_of_active()) == 4) { // 4-byte width
408+
__ ld_w(tmp, in_progress);
409+
} else {
410+
assert(in_bytes(SATBMarkQueue::byte_width_of_active()) == 1, "Assumption");
411+
__ ld_b(tmp, in_progress);
412+
}
413+
__ beqz(tmp, done);
414+
406415
// Can we store original value in the thread's buffer?
407416
__ ld_d(tmp, queue_index);
408417
__ beqz(tmp, runtime);

src/hotspot/cpu/loongarch/stubGenerator_loongarch_64.cpp

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5237,12 +5237,6 @@ class StubGenerator: public StubCodeGenerator {
52375237
return nullptr;
52385238
}
52395239

5240-
RuntimeStub* generate_cont_doYield() {
5241-
if (!Continuations::enabled()) return nullptr;
5242-
Unimplemented();
5243-
return nullptr;
5244-
}
5245-
52465240
#if INCLUDE_JFR
52475241

52485242
#undef __
@@ -5349,9 +5343,6 @@ class StubGenerator: public StubCodeGenerator {
53495343
StubRoutines::_cont_thaw = generate_cont_thaw();
53505344
StubRoutines::_cont_returnBarrier = generate_cont_returnBarrier();
53515345
StubRoutines::_cont_returnBarrierExc = generate_cont_returnBarrier_exception();
5352-
StubRoutines::_cont_doYield_stub = generate_cont_doYield();
5353-
StubRoutines::_cont_doYield = StubRoutines::_cont_doYield_stub == nullptr ? nullptr
5354-
: StubRoutines::_cont_doYield_stub->entry_point();
53555346

53565347
JFR_ONLY(StubRoutines::_jfr_write_checkpoint_stub = generate_jfr_write_checkpoint();)
53575348
JFR_ONLY(StubRoutines::_jfr_write_checkpoint = StubRoutines::_jfr_write_checkpoint_stub == nullptr ? nullptr

src/hotspot/cpu/loongarch/templateInterpreterGenerator_loongarch.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,6 @@ address TemplateInterpreterGenerator::generate_CRC32C_updateBytes_entry(Abstract
280280
return NULL;
281281
}
282282

283-
address TemplateInterpreterGenerator::generate_Continuation_doYield_entry(void) {
284-
if (!Continuations::enabled()) return nullptr;
285-
Unimplemented();
286-
return NULL;
287-
}
288-
289283
//
290284
// Various method entries
291285
//

0 commit comments

Comments
 (0)