equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2019, Oracle and/or its affiliates. All rights reserved. |
3 * Copyright 2007, 2008, 2010, 2015 Red Hat, Inc. |
3 * Copyright 2007, 2008, 2010, 2015 Red Hat, Inc. |
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 |
154 |
154 |
155 StubRoutines::_oop_disjoint_arraycopy = ShouldNotCallThisStub(); |
155 StubRoutines::_oop_disjoint_arraycopy = ShouldNotCallThisStub(); |
156 StubRoutines::_oop_arraycopy = ShouldNotCallThisStub(); |
156 StubRoutines::_oop_arraycopy = ShouldNotCallThisStub(); |
157 |
157 |
158 StubRoutines::_checkcast_arraycopy = ShouldNotCallThisStub(); |
158 StubRoutines::_checkcast_arraycopy = ShouldNotCallThisStub(); |
159 StubRoutines::_unsafe_arraycopy = ShouldNotCallThisStub(); |
|
160 StubRoutines::_generic_arraycopy = ShouldNotCallThisStub(); |
159 StubRoutines::_generic_arraycopy = ShouldNotCallThisStub(); |
|
160 |
|
161 // Shared code tests for "NULL" to discover the stub is not generated. |
|
162 StubRoutines::_unsafe_arraycopy = NULL; |
161 |
163 |
162 // We don't generate specialized code for HeapWord-aligned source |
164 // We don't generate specialized code for HeapWord-aligned source |
163 // arrays, so just use the code we've already generated |
165 // arrays, so just use the code we've already generated |
164 StubRoutines::_arrayof_jbyte_disjoint_arraycopy = |
166 StubRoutines::_arrayof_jbyte_disjoint_arraycopy = |
165 StubRoutines::_jbyte_disjoint_arraycopy; |
167 StubRoutines::_jbyte_disjoint_arraycopy; |