52 |
52 |
53 static unsigned int nof_parallel_worker_threads(unsigned int num, |
53 static unsigned int nof_parallel_worker_threads(unsigned int num, |
54 unsigned int dem, |
54 unsigned int dem, |
55 unsigned int switch_pt); |
55 unsigned int switch_pt); |
56 public: |
56 public: |
|
57 // Called as part of the runtime services initialization which is |
|
58 // called from the management module initialization (via init_globals()) |
|
59 // after argument parsing and attaching of the main thread has |
|
60 // occurred. Examines a variety of the hardware capabilities of |
|
61 // the platform to determine which features can be used to execute the |
|
62 // program. |
57 static void initialize(); |
63 static void initialize(); |
58 |
64 |
59 // This allows for early initialization of VM_Version information |
65 // This allows for early initialization of VM_Version information |
60 // that may be needed later in the initialization sequence but before |
66 // that may be needed later in the initialization sequence but before |
61 // full VM_Version initialization is possible. It can not depend on any |
67 // full VM_Version initialization is possible. It can not depend on any |
62 // other part of the VM being initialized when called. Platforms that |
68 // other part of the VM being initialized when called. Platforms that |
63 // need to specialize this define VM_Version::early_initialize(). |
69 // need to specialize this define VM_Version::early_initialize(). |
64 static void early_initialize() { } |
70 static void early_initialize() { } |
|
71 |
|
72 // Called to initialize VM variables needing initialization |
|
73 // after command line parsing. Platforms that need to specialize |
|
74 // this should define VM_Version::init_before_ergo(). |
|
75 static void init_before_ergo() {} |
65 |
76 |
66 // Name |
77 // Name |
67 static const char* vm_name(); |
78 static const char* vm_name(); |
68 // Vendor |
79 // Vendor |
69 static const char* vm_vendor(); |
80 static const char* vm_vendor(); |