-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b75
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8135613 | emb-9 | Dmitry Dmitriev | P3 | Resolved | Fixed | team |
StarvationMonitorInterval, PreInflateSpin, VerifyGenericSignatures and CountInterpCalls VM Options can be deprecated or removed in JDK 9.
1) StarvationMonitorInterval - product intx option, description: "Pause between each check (in milliseconds)"
Used only in hotspot/src/os/windows/vm/os_windows.cpp as Win95/Win98 scheduler bug work-around(as stated in the comment). New value is assigned to this option, but it never used.
// Win95/Win98 scheduler bug work-around. The Win95/98 scheduler is
// known to deadlock the system, if the VM issues to thread operations with
// a too high frequency, e.g., such as changing the priorities.
// The 6000 seems to work well - no deadlocks has been notices on the test
// programs that we have seen experience this problem.
if (!os::win32::is_nt()) {
StarvationMonitorInterval = 6000;
}
Can be deprecated because it's a product option.
2) PreInflateSpin - product pd intx option, description: "Number of times to spin wait before inflation"
Product dependent option. Only defined but never used.
Defined in the following files:
hotspot/src/cpu/zero/vm/globals_zero.hpp
hotspot/src/cpu/x86/vm/globals_x86.hpp
hotspot/src/cpu/sparc/vm/globals_sparc.hpp
hotspot/src/cpu/ppc/vm/globals_ppc.hpp
hotspot/src/cpu/aarch64/vm/globals_aarch64.hpp
Can be deprecated because it's a product option.
3) VerifyGenericSignatures - develop boolean option, description: "Abort VM on erroneous or inconsistent generic signatures"
Not used in HotSpot. Code for this option was removed byJDK-8012294 "VM crash in DefaultMethods::generate_default_methods"
Can be removed because it is a develop option.
4) CountInterpCalls - product pd boolean option.
Not defined in globals.hpp or similar, only defined in platform depended files and never used.
Defined in the following files:
hotspot/src/cpu/zero/vm/globals_zero.hpp
hotspot/src/cpu/x86/vm/globals_x86.hpp
hotspot/src/cpu/sparc/vm/globals_sparc.hpp
hotspot/src/cpu/aarch64/vm/globals_aarch64.hpp
Can be removed because not defined in globals.hpp(or similar) and it is not accepted by VM(reports that option in unrecognized).
All these options can be removed or deprecated in JDK 9.
1) StarvationMonitorInterval - product intx option, description: "Pause between each check (in milliseconds)"
Used only in hotspot/src/os/windows/vm/os_windows.cpp as Win95/Win98 scheduler bug work-around(as stated in the comment). New value is assigned to this option, but it never used.
// Win95/Win98 scheduler bug work-around. The Win95/98 scheduler is
// known to deadlock the system, if the VM issues to thread operations with
// a too high frequency, e.g., such as changing the priorities.
// The 6000 seems to work well - no deadlocks has been notices on the test
// programs that we have seen experience this problem.
if (!os::win32::is_nt()) {
StarvationMonitorInterval = 6000;
}
Can be deprecated because it's a product option.
2) PreInflateSpin - product pd intx option, description: "Number of times to spin wait before inflation"
Product dependent option. Only defined but never used.
Defined in the following files:
hotspot/src/cpu/zero/vm/globals_zero.hpp
hotspot/src/cpu/x86/vm/globals_x86.hpp
hotspot/src/cpu/sparc/vm/globals_sparc.hpp
hotspot/src/cpu/ppc/vm/globals_ppc.hpp
hotspot/src/cpu/aarch64/vm/globals_aarch64.hpp
Can be deprecated because it's a product option.
3) VerifyGenericSignatures - develop boolean option, description: "Abort VM on erroneous or inconsistent generic signatures"
Not used in HotSpot. Code for this option was removed by
Can be removed because it is a develop option.
4) CountInterpCalls - product pd boolean option.
Not defined in globals.hpp or similar, only defined in platform depended files and never used.
Defined in the following files:
hotspot/src/cpu/zero/vm/globals_zero.hpp
hotspot/src/cpu/x86/vm/globals_x86.hpp
hotspot/src/cpu/sparc/vm/globals_sparc.hpp
hotspot/src/cpu/aarch64/vm/globals_aarch64.hpp
Can be removed because not defined in globals.hpp(or similar) and it is not accepted by VM(reports that option in unrecognized).
All these options can be removed or deprecated in JDK 9.
- backported by
-
JDK-8135613 StarvationMonitorInterval, PreInflateSpin, VerifyGenericSignatures and CountInterpCalls VM Options can be deprecated or removed in JDK 9
-
- Resolved
-