public static final class Isolates.CreateIsolateParameters.Builder extends Object
Isolates.CreateIsolateParameters
instance.Constructor and Description |
---|
Builder()
Creates a new builder with default values.
|
Modifier and Type | Method and Description |
---|---|
Isolates.CreateIsolateParameters.Builder |
appendArgument(String argument)
Appends an isolate argument.
|
Isolates.CreateIsolateParameters.Builder |
auxiliaryImagePath(String filePath)
Sets the file path to an auxiliary image which should be loaded in addition to the
main image, or
null if no such image should be loaded. |
Isolates.CreateIsolateParameters.Builder |
auxiliaryImageReservedSpaceSize(UnsignedWord size)
Sets the size in bytes of an address space to reserve for loading an auxiliary image
in addition to the main image, or 0 if no space should be reserved.
|
Isolates.CreateIsolateParameters |
build()
Produces the final
Isolates.CreateIsolateParameters with the values set previously by
the builder methods. |
Isolates.CreateIsolateParameters.Builder |
reservedAddressSpaceSize(UnsignedWord size)
Sets the size in bytes for the reserved virtual address space of the new isolate.
|
Isolates.CreateIsolateParameters.Builder |
setProtectionDomain(Isolates.ProtectionDomain domain)
Sets the
Isolates.ProtectionDomain for an isolate. |
public Isolates.CreateIsolateParameters.Builder reservedAddressSpaceSize(UnsignedWord size)
public Isolates.CreateIsolateParameters.Builder auxiliaryImagePath(String filePath)
null
if no such image should be loaded.public Isolates.CreateIsolateParameters.Builder auxiliaryImageReservedSpaceSize(UnsignedWord size)
public Isolates.CreateIsolateParameters.Builder appendArgument(String argument)
-XX:+AutomaticReferenceHandling
). If the same argument is added multiple times, the
last specified value will be used.public Isolates.CreateIsolateParameters.Builder setProtectionDomain(Isolates.ProtectionDomain domain)
Isolates.ProtectionDomain
for an isolate.public Isolates.CreateIsolateParameters build()
Isolates.CreateIsolateParameters
with the values set previously by
the builder methods.