RFR 8155771: [JVMCI] expose JVM_ACC_IS_CLONEABLE_FAST
christian.thalinger at oracle.com
Fri Apr 29 23:10:52 UTC 2016
> On Apr 29, 2016, at 12:04 PM, Tom Rodriguez <tom.rodriguez at oracle.com> wrote:
+ boolean isAllocationCloneable();
That means “allocation-cloneable”, not “allocation is cloneable”, right? It could be interpreted both ways but the change is good.
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the hotspot-compiler-dev