提交 035f34a5 编写于 作者: S stefank

7195968: NPG: oopDesc::list_ptr_from_klass is broken

Summary: Remove incorrect cast
Reviewed-by: brutisso, coleenp
上级 9ccf85ac
......@@ -135,7 +135,7 @@ inline void oopDesc::set_klass_to_list_ptr(oop k) {
inline oop oopDesc::list_ptr_from_klass() {
// This is only to be used during GC, for from-space objects.
if (UseCompressedKlassPointers) {
return (oop)decode_heap_oop((oop)(address)_metadata._compressed_klass);
return decode_heap_oop(_metadata._compressed_klass);
} else {
// Special case for GC
return (oop)(address)_metadata._klass;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册