equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright (c) 2014, Red Hat Inc. All rights reserved. |
3 * Copyright (c) 2014, Red Hat Inc. 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 |
157 static void pd_conjoint_jlongs_atomic(jlong* from, jlong* to, size_t count) { |
157 static void pd_conjoint_jlongs_atomic(jlong* from, jlong* to, size_t count) { |
158 _Copy_conjoint_jlongs_atomic(from, to, count); |
158 _Copy_conjoint_jlongs_atomic(from, to, count); |
159 } |
159 } |
160 |
160 |
161 static void pd_conjoint_oops_atomic(oop* from, oop* to, size_t count) { |
161 static void pd_conjoint_oops_atomic(oop* from, oop* to, size_t count) { |
162 assert(!UseCompressedOops, "foo!"); |
|
163 assert(BytesPerLong == BytesPerOop, "jlongs and oops must be the same size"); |
162 assert(BytesPerLong == BytesPerOop, "jlongs and oops must be the same size"); |
164 _Copy_conjoint_jlongs_atomic((jlong*)from, (jlong*)to, count); |
163 _Copy_conjoint_jlongs_atomic((jlong*)from, (jlong*)to, count); |
165 } |
164 } |
166 |
165 |
167 static void pd_arrayof_conjoint_bytes(HeapWord* from, HeapWord* to, size_t count) { |
166 static void pd_arrayof_conjoint_bytes(HeapWord* from, HeapWord* to, size_t count) { |