提交 8a4d5efc 编写于 作者: G goetz

8027965: Adapt PPC to 8015107: NPG: Use consistent naming for metaspace concepts

Reviewed-by: dholmes
上级 d961f8cd
...@@ -2391,7 +2391,7 @@ void MacroAssembler::encode_klass_not_null(Register dst, Register src) { ...@@ -2391,7 +2391,7 @@ void MacroAssembler::encode_klass_not_null(Register dst, Register src) {
} }
void MacroAssembler::store_klass(Register dst_oop, Register klass, Register ck) { void MacroAssembler::store_klass(Register dst_oop, Register klass, Register ck) {
if (UseCompressedKlassPointers) { if (UseCompressedClassPointers) {
encode_klass_not_null(ck, klass); encode_klass_not_null(ck, klass);
stw(ck, oopDesc::klass_offset_in_bytes(), dst_oop); stw(ck, oopDesc::klass_offset_in_bytes(), dst_oop);
} else { } else {
...@@ -2412,7 +2412,7 @@ void MacroAssembler::decode_klass_not_null(Register dst, Register src) { ...@@ -2412,7 +2412,7 @@ void MacroAssembler::decode_klass_not_null(Register dst, Register src) {
} }
void MacroAssembler::load_klass(Register dst, Register src) { void MacroAssembler::load_klass(Register dst, Register src) {
if (UseCompressedKlassPointers) { if (UseCompressedClassPointers) {
lwz(dst, oopDesc::klass_offset_in_bytes(), src); lwz(dst, oopDesc::klass_offset_in_bytes(), src);
// Attention: no null check here! // Attention: no null check here!
decode_klass_not_null(dst, dst); decode_klass_not_null(dst, dst);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册