1 /* |
1 /* |
2 * Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2000, 2019, 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. |
30 |
30 |
31 // Sets the default values for platform dependent flags used by the runtime system. |
31 // Sets the default values for platform dependent flags used by the runtime system. |
32 // (see globals.hpp) |
32 // (see globals.hpp) |
33 |
33 |
34 define_pd_global(bool, ConvertSleepToYield, true); |
34 define_pd_global(bool, ConvertSleepToYield, true); |
35 define_pd_global(bool, ShareVtableStubs, true); |
|
36 define_pd_global(bool, CountInterpCalls, true); |
35 define_pd_global(bool, CountInterpCalls, true); |
37 define_pd_global(bool, NeedsDeoptSuspend, false); // only register window machines need this |
36 define_pd_global(bool, NeedsDeoptSuspend, false); // only register window machines need this |
38 |
37 |
39 define_pd_global(bool, ImplicitNullChecks, true); // Generate code for implicit null checks |
38 define_pd_global(bool, ImplicitNullChecks, true); // Generate code for implicit null checks |
40 define_pd_global(bool, TrapBasedNullChecks, false); // Not needed on x86. |
39 define_pd_global(bool, TrapBasedNullChecks, false); // Not needed on x86. |