1 /* |
1 /* |
2 * Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2002, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2012, 2017 SAP AG. All rights reserved. |
3 * Copyright (c) 2012, 2017 SAP AG. 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. |
513 void serialize_memory(Register thread, Register tmp1, Register tmp2); |
513 void serialize_memory(Register thread, Register tmp1, Register tmp2); |
514 |
514 |
515 // GC barrier support. |
515 // GC barrier support. |
516 void card_write_barrier_post(Register Rstore_addr, Register Rnew_val, Register Rtmp); |
516 void card_write_barrier_post(Register Rstore_addr, Register Rnew_val, Register Rtmp); |
517 void card_table_write(jbyte* byte_map_base, Register Rtmp, Register Robj); |
517 void card_table_write(jbyte* byte_map_base, Register Rtmp, Register Robj); |
|
518 |
|
519 void resolve_jobject(Register value, Register tmp1, Register tmp2, bool needs_frame); |
518 |
520 |
519 #if INCLUDE_ALL_GCS |
521 #if INCLUDE_ALL_GCS |
520 // General G1 pre-barrier generator. |
522 // General G1 pre-barrier generator. |
521 void g1_write_barrier_pre(Register Robj, RegisterOrConstant offset, Register Rpre_val, |
523 void g1_write_barrier_pre(Register Robj, RegisterOrConstant offset, Register Rpre_val, |
522 Register Rtmp1, Register Rtmp2, bool needs_frame = false); |
524 Register Rtmp1, Register Rtmp2, bool needs_frame = false); |