equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
43 |
43 |
44 // Trigger any necessary notification of the VM being shutdown |
44 // Trigger any necessary notification of the VM being shutdown |
45 extern void notify_vm_shutdown(); |
45 extern void notify_vm_shutdown(); |
46 |
46 |
47 // VM exit if error occurs during initialization of VM |
47 // VM exit if error occurs during initialization of VM |
|
48 extern void vm_exit_during_initialization(); |
48 extern void vm_exit_during_initialization(Handle exception); |
49 extern void vm_exit_during_initialization(Handle exception); |
49 extern void vm_exit_during_initialization(Symbol* exception_name, const char* message); |
50 extern void vm_exit_during_initialization(Symbol* exception_name, const char* message); |
50 extern void vm_exit_during_initialization(const char* error, const char* message = NULL); |
51 extern void vm_exit_during_initialization(const char* error, const char* message = NULL); |
51 extern void vm_shutdown_during_initialization(const char* error, const char* message = NULL); |
52 extern void vm_shutdown_during_initialization(const char* error, const char* message = NULL); |
52 |
53 |