public class HotSpotPlatformConfigurationProvider extends Object implements PlatformConfigurationProvider
| Constructor and Description |
|---|
HotSpotPlatformConfigurationProvider(GraalHotSpotVMConfig config,
MetaAccessProvider metaAccess) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canVirtualizeLargeByteArrayAccess()
Returns whether the underlying VM can recover from virtualizing large primitive unsafe writes
in a byte array.
|
BarrierSet |
getBarrierSet()
Returns the barrier set that is used to insert the needed read/write barriers.
|
protected boolean |
isWriteToNewObject(FixedAccessNode node)
For initializing writes, the last allocation executed by the JVM is guaranteed to be
automatically card marked so it's safe to skip the card mark in the emitted code.
|
public HotSpotPlatformConfigurationProvider(GraalHotSpotVMConfig config, MetaAccessProvider metaAccess)
public boolean canVirtualizeLargeByteArrayAccess()
PlatformConfigurationProvidercanVirtualizeLargeByteArrayAccess in interface PlatformConfigurationProviderpublic BarrierSet getBarrierSet()
PlatformConfigurationProvidergetBarrierSet in interface PlatformConfigurationProviderprotected boolean isWriteToNewObject(FixedAccessNode node)