RFR 8155771: [JVMCI] expose JVM_ACC_IS_CLONEABLE_FAST
tom.rodriguez at oracle.com
Fri Apr 29 22:04:21 UTC 2016
The new flag JVM_ACC_IS_CLONEABLE_FAST controls whether an object can be cloned by simply performing an allocation and copying the fields. Previously all Cloneable objects were assumed to be cloneable in this way. Add ResolvedJavaType.isAllocationCloneable to expose this notion. Tested with Graal.
More information about the hotspot-compiler-dev