equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2012, 2016 SAP SE. All rights reserved. |
3 * Copyright (c) 2012, 2017 SAP SE. All rights reserved. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
5 * |
5 * |
6 * This code is free software; you can redistribute it and/or modify it |
6 * This code is free software; you can redistribute it and/or modify it |
7 * under the terms of the GNU General Public License version 2 only, as |
7 * under the terms of the GNU General Public License version 2 only, as |
8 * published by the Free Software Foundation. |
8 * published by the Free Software Foundation. |
647 |
647 |
648 // GC barrier support. |
648 // GC barrier support. |
649 void card_write_barrier_post(Register Rstore_addr, Register Rnew_val, Register Rtmp); |
649 void card_write_barrier_post(Register Rstore_addr, Register Rnew_val, Register Rtmp); |
650 void card_table_write(jbyte* byte_map_base, Register Rtmp, Register Robj); |
650 void card_table_write(jbyte* byte_map_base, Register Rtmp, Register Robj); |
651 |
651 |
|
652 void resolve_jobject(Register value, Register tmp1, Register tmp2, bool needs_frame); |
|
653 |
652 #if INCLUDE_ALL_GCS |
654 #if INCLUDE_ALL_GCS |
653 // General G1 pre-barrier generator. |
655 // General G1 pre-barrier generator. |
654 void g1_write_barrier_pre(Register Robj, RegisterOrConstant offset, Register Rpre_val, |
656 void g1_write_barrier_pre(Register Robj, RegisterOrConstant offset, Register Rpre_val, |
655 Register Rtmp1, Register Rtmp2, bool needs_frame = false); |
657 Register Rtmp1, Register Rtmp2, bool needs_frame = false); |
656 // General G1 post-barrier generator |
658 // General G1 post-barrier generator |