< prev index next >
src/cpu/ppc/vm/templateInterpreterGenerator_ppc.cpp
Print this page
rev 12692 : 8176100: [REDO][REDO] G1 Needs pre barrier on dereference of weak JNI handles
Reviewed-by:
*** 1,8 ****
/*
! * Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved.
! * Copyright (c) 2015, 2016 SAP SE. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,8 ----
/*
! * Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
! * Copyright (c) 2015, 2017 SAP SE. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 399,413 ****
__ extsw(R3_RET, R3_RET);
break;
case T_LONG:
break;
case T_OBJECT:
! // unbox result if not null
! __ cmpdi(CCR0, R3_RET, 0);
! __ beq(CCR0, done);
! __ ld(R3_RET, 0, R3_RET);
! __ verify_oop(R3_RET);
break;
case T_FLOAT:
break;
case T_DOUBLE:
break;
--- 399,410 ----
__ extsw(R3_RET, R3_RET);
break;
case T_LONG:
break;
case T_OBJECT:
! // JNIHandles::resolve result.
! __ resolve_jobject(R3_RET, R11_scratch1, R12_scratch2, /* needs_frame */ true); // kills R31
break;
case T_FLOAT:
break;
case T_DOUBLE:
break;
< prev index next >