|
dxFeed Graal Native SDK 3.14.0-rc2
|
The parameters of graal_create_isolate(). More...
#include <graal_isolate.h>
Data Fields | |
| int | version |
| The version of this structure: __graal_create_isolate_params_version, set after zeroing it. | |
| __graal_uword | reserved_address_space_size |
| The size of the virtual address space to reserve for the heap (0: the default). | |
| const char * | auxiliary_image_path |
| Internal: the path of an auxiliary image to load (leave it NULL). | |
| __graal_uword | auxiliary_image_reserved_space_size |
| Internal: the bytes reserved for loading an auxiliary image (leave it 0). | |
| int | argc |
| The number of the strings in argv, including argv[0]. | |
| char ** | argv |
| The isolate arguments, parsed like a command line (see graal_create_isolate_params_t). | |
| int | pkey |
| Internal: the protection key or domain of the isolate (leave it 0, NO_PROTECTION_DOMAIN). | |
| char | ignore_unrecognized_args |
| 1: unknown options in argv are ignored instead of failing graal_create_isolate(). | |
| char | _reserved_4 |
| Internal, leave it 0. | |
| char | _reserved_5 |
| Internal, leave it 0. | |
The parameters of graal_create_isolate().
Zero the structure, then set version to __graal_create_isolate_params_version and the fields to change; the fields that are 0 keep their defaults. The isolate reads only the fields of the given version, so a program built with an older header works with a newer library.
The isolate arguments (argc, argv) are parsed like the command line of a native executable, and argv[0] (the program name) is skipped:
An unknown -XX: option or a wrong value (-Xmx64q) fails graal_create_isolate() and prints the reason to stderr, unless ignore_unrecognized_args is 1. The other arguments are not checked.
| char __graal_create_isolate_params_t::_reserved_4 |
Internal, leave it 0.
| char __graal_create_isolate_params_t::_reserved_5 |
Internal, leave it 0.
| char ** __graal_create_isolate_params_t::argv |
The isolate arguments, parsed like a command line (see graal_create_isolate_params_t).
| const char * __graal_create_isolate_params_t::auxiliary_image_path |
Internal: the path of an auxiliary image to load (leave it NULL).
| __graal_uword __graal_create_isolate_params_t::auxiliary_image_reserved_space_size |
Internal: the bytes reserved for loading an auxiliary image (leave it 0).
| char __graal_create_isolate_params_t::ignore_unrecognized_args |
1: unknown options in argv are ignored instead of failing graal_create_isolate().
| int __graal_create_isolate_params_t::pkey |
Internal: the protection key or domain of the isolate (leave it 0, NO_PROTECTION_DOMAIN).
| __graal_uword __graal_create_isolate_params_t::reserved_address_space_size |
The size of the virtual address space to reserve for the heap (0: the default).
| int __graal_create_isolate_params_t::version |
The version of this structure: __graal_create_isolate_params_version, set after zeroing it.