Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/globals.hpp @ 4854:de268c8a8075
7082553: Interpret Thread.setPriority(Thread.MAX_PRIORITY) to mean FX60 on Solaris 10 and 11
Summary: Add CriticalPriority == MaxPriority+1 and enable scheduling class as well as thread priority to change on Solaris.
Reviewed-by: dholmes, dcubed
author | phh |
---|---|
date | Thu, 26 Jan 2012 20:06:06 -0500 |
parents | 15d394228cfa |
children | bf5da1648543 b2cd0ee8f778 |
comparison
equal
deleted
inserted
replaced
4853:6db63e782d3d | 4854:de268c8a8075 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2012, 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. |
3475 " used with care, as sometimes it can cause performance "\ | 3475 " used with care, as sometimes it can cause performance "\ |
3476 " degradation in the application and/or the entire system. On "\ | 3476 " degradation in the application and/or the entire system. On "\ |
3477 " Linux this policy requires root privilege.") \ | 3477 " Linux this policy requires root privilege.") \ |
3478 \ | 3478 \ |
3479 product(bool, ThreadPriorityVerbose, false, \ | 3479 product(bool, ThreadPriorityVerbose, false, \ |
3480 "print priority changes") \ | 3480 "Print priority changes") \ |
3481 \ | 3481 \ |
3482 product(intx, DefaultThreadPriority, -1, \ | 3482 product(intx, DefaultThreadPriority, -1, \ |
3483 "what native priority threads run at if not specified elsewhere (-1 means no change)") \ | 3483 "The native priority at which threads run if not elsewhere " \ |
3484 "specified (-1 means no change)") \ | |
3484 \ | 3485 \ |
3485 product(intx, CompilerThreadPriority, -1, \ | 3486 product(intx, CompilerThreadPriority, -1, \ |
3486 "what priority should compiler threads run at (-1 means no change)") \ | 3487 "The native priority at which compiler threads should run " \ |
3488 "(-1 means no change)") \ | |
3487 \ | 3489 \ |
3488 product(intx, VMThreadPriority, -1, \ | 3490 product(intx, VMThreadPriority, -1, \ |
3489 "what priority should VM threads run at (-1 means no change)") \ | 3491 "The native priority at which the VM thread should run " \ |
3492 "(-1 means no change)") \ | |
3490 \ | 3493 \ |
3491 product(bool, CompilerThreadHintNoPreempt, true, \ | 3494 product(bool, CompilerThreadHintNoPreempt, true, \ |
3492 "(Solaris only) Give compiler threads an extra quanta") \ | 3495 "(Solaris only) Give compiler threads an extra quanta") \ |
3493 \ | 3496 \ |
3494 product(bool, VMThreadHintNoPreempt, false, \ | 3497 product(bool, VMThreadHintNoPreempt, false, \ |
3503 product(intx, JavaPriority7_To_OSPriority, -1, "Map Java priorities to OS priorities") \ | 3506 product(intx, JavaPriority7_To_OSPriority, -1, "Map Java priorities to OS priorities") \ |
3504 product(intx, JavaPriority8_To_OSPriority, -1, "Map Java priorities to OS priorities") \ | 3507 product(intx, JavaPriority8_To_OSPriority, -1, "Map Java priorities to OS priorities") \ |
3505 product(intx, JavaPriority9_To_OSPriority, -1, "Map Java priorities to OS priorities") \ | 3508 product(intx, JavaPriority9_To_OSPriority, -1, "Map Java priorities to OS priorities") \ |
3506 product(intx, JavaPriority10_To_OSPriority,-1, "Map Java priorities to OS priorities") \ | 3509 product(intx, JavaPriority10_To_OSPriority,-1, "Map Java priorities to OS priorities") \ |
3507 \ | 3510 \ |
3511 experimental(bool, UseCriticalJavaThreadPriority, false, \ | |
3512 "Java thread priority 10 maps to critical scheduling priority") \ | |
3513 \ | |
3514 experimental(bool, UseCriticalCompilerThreadPriority, false, \ | |
3515 "Compiler thread(s) run at critical scheduling priority") \ | |
3516 \ | |
3517 experimental(bool, UseCriticalCMSThreadPriority, false, \ | |
3518 "ConcurrentMarkSweep thread runs at critical scheduling priority")\ | |
3519 \ | |
3508 /* compiler debugging */ \ | 3520 /* compiler debugging */ \ |
3509 notproduct(intx, CompileTheWorldStartAt, 1, \ | 3521 notproduct(intx, CompileTheWorldStartAt, 1, \ |
3510 "First class to consider when using +CompileTheWorld") \ | 3522 "First class to consider when using +CompileTheWorld") \ |
3511 \ | 3523 \ |
3512 notproduct(intx, CompileTheWorldStopAt, max_jint, \ | 3524 notproduct(intx, CompileTheWorldStopAt, max_jint, \ |
3869 "Number of buckets in the interned String table") \ | 3881 "Number of buckets in the interned String table") \ |
3870 \ | 3882 \ |
3871 product(bool, UseVMInterruptibleIO, false, \ | 3883 product(bool, UseVMInterruptibleIO, false, \ |
3872 "(Unstable, Solaris-specific) Thread interrupt before or with " \ | 3884 "(Unstable, Solaris-specific) Thread interrupt before or with " \ |
3873 "EINTR for I/O operations results in OS_INTRPT. The default value"\ | 3885 "EINTR for I/O operations results in OS_INTRPT. The default value"\ |
3874 " of this flag is true for JDK 6 and earliers") | 3886 " of this flag is true for JDK 6 and earlier") |
3875 | 3887 |
3876 /* | 3888 /* |
3877 * Macros for factoring of globals | 3889 * Macros for factoring of globals |
3878 */ | 3890 */ |
3879 | 3891 |