RFR: 8199696: Remove Runtime1::arraycopy (original) (raw)
Erik Österlund erik.osterlund at oracle.com
Thu Mar 15 15🔞24 UTC 2018
- Previous message: RFR: 8199685: Access arraycopy build failure with GCC 7.3.1
- Next message: 8199696: Remove Runtime1::arraycopy
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
The Runtime1::arraycopy stub appears to only be used on S390 because there is no StubRoutines::generic_arraycopy() provided. However, C1 could then simply take a slow path and call its arraycopy stub that performs a native call. Then this logic may be removed.
I added an assert on each platform that I think should have a generic_arraycopy() stub, and added a branch to the slow path on S390 if there is no such stub. If a stub is eventually added on S390, it should automatically pick that up.
Webrev: http://cr.openjdk.java.net/~eosterlund/8199696/webrev.00/
Bug ID: https://bugs.openjdk.java.net/browse/JDK-8199696
Thanks, /Erik
- Previous message: RFR: 8199685: Access arraycopy build failure with GCC 7.3.1
- Next message: 8199696: Remove Runtime1::arraycopy
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]