hotspot/src/cpu/sparc/vm/globals_sparc.hpp
changeset 36099 bb0cc62ab037
parent 35071 a0910b1d3e0d
child 36554 a7eb9ee4680c
equal deleted inserted replaced
36098:e056a98ac7ca 36099:bb0cc62ab037
     1 /*
     1 /*
     2  * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2000, 2016, 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.
    35 // interpreter dispatch needs at least two instructions - first to load the dispatch address
    35 // interpreter dispatch needs at least two instructions - first to load the dispatch address
    36 // in a register, and second to jmp. The swapping of the dispatch table may occur _after_
    36 // in a register, and second to jmp. The swapping of the dispatch table may occur _after_
    37 // the load of the dispatch address and hence the jmp would still go to the location
    37 // the load of the dispatch address and hence the jmp would still go to the location
    38 // according to the prior table. So, we let the thread continue and let it block by itself.
    38 // according to the prior table. So, we let the thread continue and let it block by itself.
    39 define_pd_global(bool, DontYieldALot,               true);  // yield no more than 100 times per second
    39 define_pd_global(bool, DontYieldALot,               true);  // yield no more than 100 times per second
    40 define_pd_global(bool, ConvertSleepToYield,         false); // do not convert sleep(0) to yield. Helps GUI
       
    41 define_pd_global(bool, ShareVtableStubs,            false); // improves performance markedly for mtrt and compress
    40 define_pd_global(bool, ShareVtableStubs,            false); // improves performance markedly for mtrt and compress
    42 define_pd_global(bool, NeedsDeoptSuspend,           true); // register window machines need this
    41 define_pd_global(bool, NeedsDeoptSuspend,           true); // register window machines need this
    43 
    42 
    44 define_pd_global(bool, ImplicitNullChecks,          true);  // Generate code for implicit null checks
    43 define_pd_global(bool, ImplicitNullChecks,          true);  // Generate code for implicit null checks
    45 define_pd_global(bool, TrapBasedNullChecks,         false); // Not needed on sparc.
    44 define_pd_global(bool, TrapBasedNullChecks,         false); // Not needed on sparc.