mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
This commit is contained in:
parent
9fe4b69c1a
commit
071bd521bc
954 changed files with 1093 additions and 127816 deletions
|
@ -243,7 +243,7 @@ void Runtime1::generate_blob_for(BufferBlob* buffer_blob, StubID id) {
|
|||
case fpu2long_stub_id:
|
||||
case unwind_exception_id:
|
||||
case counter_overflow_id:
|
||||
#if defined(SPARC) || defined(PPC32)
|
||||
#if defined(PPC32)
|
||||
case handle_exception_nofpu_id: // Unused on sparc
|
||||
#endif
|
||||
expect_oop_map = false;
|
||||
|
@ -1134,7 +1134,7 @@ JRT_ENTRY(void, Runtime1::patch_code(JavaThread* thread, Runtime1::StubID stub_i
|
|||
ShouldNotReachHere();
|
||||
}
|
||||
|
||||
#if defined(SPARC) || defined(PPC32)
|
||||
#if defined(PPC32)
|
||||
if (load_klass_or_mirror_patch_id ||
|
||||
stub_id == Runtime1::load_appendix_patching_id) {
|
||||
// Update the location in the nmethod with the proper
|
||||
|
@ -1225,13 +1225,6 @@ JRT_ENTRY(void, Runtime1::patch_code(JavaThread* thread, Runtime1::StubID stub_i
|
|||
RelocIterator iter(nm, (address)instr_pc, (address)(instr_pc + 1));
|
||||
relocInfo::change_reloc_info_for_address(&iter, (address) instr_pc,
|
||||
relocInfo::none, rtype);
|
||||
#ifdef SPARC
|
||||
// Sparc takes two relocations for an metadata so update the second one.
|
||||
address instr_pc2 = instr_pc + NativeMovConstReg::add_offset;
|
||||
RelocIterator iter2(nm, instr_pc2, instr_pc2 + 1);
|
||||
relocInfo::change_reloc_info_for_address(&iter2, (address) instr_pc2,
|
||||
relocInfo::none, rtype);
|
||||
#endif
|
||||
#ifdef PPC32
|
||||
{ address instr_pc2 = instr_pc + NativeMovConstReg::lo_offset;
|
||||
RelocIterator iter2(nm, instr_pc2, instr_pc2 + 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue