globals.hpp revision 2852:358eca91be48
11558Srgrimes/* 21558Srgrimes * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 31558Srgrimes * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 41558Srgrimes * 51558Srgrimes * This code is free software; you can redistribute it and/or modify it 61558Srgrimes * under the terms of the GNU General Public License version 2 only, as 71558Srgrimes * published by the Free Software Foundation. 81558Srgrimes * 91558Srgrimes * This code is distributed in the hope that it will be useful, but WITHOUT 101558Srgrimes * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 111558Srgrimes * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 121558Srgrimes * version 2 for more details (a copy is included in the LICENSE file that 131558Srgrimes * accompanied this code). 141558Srgrimes * 151558Srgrimes * You should have received a copy of the GNU General Public License version 161558Srgrimes * 2 along with this work; if not, write to the Free Software Foundation, 171558Srgrimes * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 181558Srgrimes * 191558Srgrimes * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 201558Srgrimes * or visit www.oracle.com if you need additional information or have any 211558Srgrimes * questions. 221558Srgrimes * 231558Srgrimes */ 241558Srgrimes 251558Srgrimes#ifndef SHARE_VM_RUNTIME_GLOBALS_HPP 261558Srgrimes#define SHARE_VM_RUNTIME_GLOBALS_HPP 271558Srgrimes 281558Srgrimes#include "utilities/debug.hpp" 291558Srgrimes#ifdef TARGET_ARCH_x86 301558Srgrimes# include "globals_x86.hpp" 311558Srgrimes#endif 321558Srgrimes#ifdef TARGET_ARCH_sparc 331558Srgrimes# include "globals_sparc.hpp" 3437663Scharnier#endif 351558Srgrimes#ifdef TARGET_ARCH_zero 361558Srgrimes# include "globals_zero.hpp" 372999Swollman#endif 381558Srgrimes#ifdef TARGET_ARCH_arm 39105267Scharnier# include "globals_arm.hpp" 401558Srgrimes#endif 4137663Scharnier#ifdef TARGET_ARCH_ppc 42105267Scharnier# include "globals_ppc.hpp" 4337663Scharnier#endif 441558Srgrimes#ifdef TARGET_OS_FAMILY_linux 45105267Scharnier# include "globals_linux.hpp" 46105267Scharnier#endif 47105267Scharnier#ifdef TARGET_OS_FAMILY_solaris 481558Srgrimes# include "globals_solaris.hpp" 49192934Srmacklem#endif 50192934Srmacklem#ifdef TARGET_OS_FAMILY_windows 51192934Srmacklem# include "globals_windows.hpp" 521558Srgrimes#endif 531558Srgrimes#ifdef TARGET_OS_FAMILY_bsd 54192934Srmacklem# include "globals_bsd.hpp" 551558Srgrimes#endif 561558Srgrimes#ifdef TARGET_OS_ARCH_linux_x86 571558Srgrimes# include "globals_linux_x86.hpp" 58109363Smbr#endif 591558Srgrimes#ifdef TARGET_OS_ARCH_linux_sparc 6074462Salfred# include "globals_linux_sparc.hpp" 6174462Salfred#endif 621558Srgrimes#ifdef TARGET_OS_ARCH_linux_zero 639336Sdfr# include "globals_linux_zero.hpp" 64192934Srmacklem#endif 6583653Speter#ifdef TARGET_OS_ARCH_solaris_x86 661558Srgrimes# include "globals_solaris_x86.hpp" 67192934Srmacklem#endif 68192934Srmacklem#ifdef TARGET_OS_ARCH_solaris_sparc 691558Srgrimes# include "globals_solaris_sparc.hpp" 701558Srgrimes#endif 711558Srgrimes#ifdef TARGET_OS_ARCH_windows_x86 7237663Scharnier# include "globals_windows_x86.hpp" 731558Srgrimes#endif 741558Srgrimes#ifdef TARGET_OS_ARCH_linux_arm 75149433Spjd# include "globals_linux_arm.hpp" 76103949Smike#endif 771558Srgrimes#ifdef TARGET_OS_ARCH_linux_ppc 781558Srgrimes# include "globals_linux_ppc.hpp" 791558Srgrimes#endif 801558Srgrimes#ifdef TARGET_OS_ARCH_bsd_x86 811558Srgrimes# include "globals_bsd_x86.hpp" 821558Srgrimes#endif 831558Srgrimes#ifdef TARGET_OS_ARCH_bsd_zero 841558Srgrimes# include "globals_bsd_zero.hpp" 85158857Srodrigc#endif 861558Srgrimes#ifdef COMPILER1 871558Srgrimes#ifdef TARGET_ARCH_x86 881558Srgrimes# include "c1_globals_x86.hpp" 891558Srgrimes#endif 901558Srgrimes#ifdef TARGET_ARCH_sparc 911558Srgrimes# include "c1_globals_sparc.hpp" 921558Srgrimes#endif 931558Srgrimes#ifdef TARGET_ARCH_arm 941558Srgrimes# include "c1_globals_arm.hpp" 951558Srgrimes#endif 961558Srgrimes#ifdef TARGET_ARCH_ppc 971558Srgrimes# include "c1_globals_ppc.hpp" 981558Srgrimes#endif 991558Srgrimes#ifdef TARGET_OS_FAMILY_linux 1001558Srgrimes# include "c1_globals_linux.hpp" 1011558Srgrimes#endif 1021558Srgrimes#ifdef TARGET_OS_FAMILY_solaris 1031558Srgrimes# include "c1_globals_solaris.hpp" 1041558Srgrimes#endif 1051558Srgrimes#ifdef TARGET_OS_FAMILY_windows 1061558Srgrimes# include "c1_globals_windows.hpp" 1071558Srgrimes#endif 1081558Srgrimes#ifdef TARGET_OS_FAMILY_bsd 1099336Sdfr# include "c1_globals_bsd.hpp" 1101558Srgrimes#endif 1111558Srgrimes#endif 1121558Srgrimes#ifdef COMPILER2 1131558Srgrimes#ifdef TARGET_ARCH_x86 1141558Srgrimes# include "c2_globals_x86.hpp" 1151558Srgrimes#endif 1161558Srgrimes#ifdef TARGET_ARCH_sparc 1171558Srgrimes# include "c2_globals_sparc.hpp" 11827447Sdfr#endif 119184588Sdfr#ifdef TARGET_ARCH_arm 120184588Sdfr# include "c2_globals_arm.hpp" 1211558Srgrimes#endif 1221558Srgrimes#ifdef TARGET_OS_FAMILY_linux 1231558Srgrimes# include "c2_globals_linux.hpp" 1241558Srgrimes#endif 1251558Srgrimes#ifdef TARGET_OS_FAMILY_solaris 12674462Salfred# include "c2_globals_solaris.hpp" 12775801Siedowse#endif 12842144Sdfr#ifdef TARGET_OS_FAMILY_windows 1291558Srgrimes# include "c2_globals_windows.hpp" 1301558Srgrimes#endif 1311558Srgrimes#ifdef TARGET_OS_FAMILY_bsd 13274462Salfred# include "c2_globals_bsd.hpp" 1331558Srgrimes#endif 1341558Srgrimes#endif 1351558Srgrimes#ifdef SHARK 1361558Srgrimes#ifdef TARGET_ARCH_zero 1371558Srgrimes# include "shark_globals_zero.hpp" 1381558Srgrimes#endif 1391558Srgrimes#endif 1401558Srgrimes 1411558Srgrimes#if !defined(COMPILER1) && !defined(COMPILER2) && !defined(SHARK) 1421558Srgrimesdefine_pd_global(bool, BackgroundCompilation, false); 1431558Srgrimesdefine_pd_global(bool, UseTLAB, false); 1441558Srgrimesdefine_pd_global(bool, CICompileOSR, false); 14575641Siedowsedefine_pd_global(bool, UseTypeProfile, false); 1467401Swpauldefine_pd_global(bool, UseOnStackReplacement, false); 1471558Srgrimesdefine_pd_global(bool, InlineIntrinsics, false); 1481558Srgrimesdefine_pd_global(bool, PreferInterpreterNativeStubs, true); 1499336Sdfrdefine_pd_global(bool, ProfileInterpreter, false); 1501558Srgrimesdefine_pd_global(bool, ProfileTraps, false); 1511558Srgrimesdefine_pd_global(bool, TieredCompilation, false); 1521558Srgrimes 1531558Srgrimesdefine_pd_global(intx, CompileThreshold, 0); 1549336Sdfrdefine_pd_global(intx, BackEdgeThreshold, 0); 1559336Sdfr 1569336Sdfrdefine_pd_global(intx, OnStackReplacePercentage, 0); 1579336Sdfrdefine_pd_global(bool, ResizeTLAB, false); 158184588Sdfrdefine_pd_global(intx, FreqInlineSize, 0); 159184588Sdfrdefine_pd_global(intx, InlineSmallCode, 0); 1609336Sdfrdefine_pd_global(intx, NewSizeThreadIncrease, 4*K); 1619336Sdfrdefine_pd_global(intx, InlineClassNatives, true); 1621558Srgrimesdefine_pd_global(intx, InlineUnsafeOps, true); 16392882Simpdefine_pd_global(intx, InitialCodeCacheSize, 160*K); 16492882Simpdefine_pd_global(intx, ReservedCodeCacheSize, 32*M); 16592882Simpdefine_pd_global(intx, CodeCacheExpansionSize, 32*K); 16692882Simpdefine_pd_global(intx, CodeCacheMinBlockLength, 1); 16792882Simpdefine_pd_global(uintx,PermSize, ScaleForWordSize(4*M)); 16892882Simpdefine_pd_global(uintx,MaxPermSize, ScaleForWordSize(64*M)); 16975801Siedowsedefine_pd_global(bool, NeverActAsServerClassMachine, true); 17092882Simpdefine_pd_global(uint64_t,MaxRAM, 1ULL*G); 171172827Smatteo#define CI_COMPILER_COUNT 0 17275635Siedowse#else 17392882Simp 17492882Simp#ifdef COMPILER2 17592882Simp#define CI_COMPILER_COUNT 2 17692882Simp#else 17792882Simp#define CI_COMPILER_COUNT 1 17892882Simp#endif // COMPILER2 17992882Simp 18092882Simp#endif // no compilers 18192882Simp 18292882Simp 18392882Simp// string type aliases used only in this file 18492882Simptypedef const char* ccstr; 18592882Simptypedef const char* ccstrlist; // represents string arguments which accumulate 18692882Simp 18792882Simpenum FlagValueOrigin { 18892882Simp DEFAULT = 0, 18992882Simp COMMAND_LINE = 1, 19092882Simp ENVIRON_VAR = 2, 19192882Simp CONFIG_FILE = 3, 19292882Simp MANAGEMENT = 4, 19392882Simp ERGONOMIC = 5, 19475754Siedowse ATTACH_ON_DEMAND = 6, 19575801Siedowse INTERNAL = 99 19692882Simp}; 19792882Simp 19892882Simpstruct Flag { 19992882Simp const char *type; 200100117Salfred const char *name; 20175801Siedowse void* addr; 20275801Siedowse 20375801Siedowse NOT_PRODUCT(const char *doc;) 20492882Simp 20592882Simp const char *kind; 20692882Simp FlagValueOrigin origin; 20792882Simp 208100117Salfred // points to all Flags static array 20992882Simp static Flag *flags; 21092882Simp 21192882Simp // number of flags 2121558Srgrimes static size_t numFlags; 2131558Srgrimes 2141558Srgrimes static Flag* find_flag(char* name, size_t length); 2151558Srgrimes 216166440Spjd bool is_bool() const { return strcmp(type, "bool") == 0; } 217166440Spjd bool get_bool() const { return *((bool*) addr); } 218172827Smatteo void set_bool(bool value) { *((bool*) addr) = value; } 21972650Sgreen 22091354Sdd bool is_intx() const { return strcmp(type, "intx") == 0; } 22172650Sgreen intx get_intx() const { return *((intx*) addr); } 2221558Srgrimes void set_intx(intx value) { *((intx*) addr) = value; } 22372650Sgreen 22472650Sgreen bool is_uintx() const { return strcmp(type, "uintx") == 0; } 2251558Srgrimes uintx get_uintx() const { return *((uintx*) addr); } 22625087Sdfr void set_uintx(uintx value) { *((uintx*) addr) = value; } 2279336Sdfr 228172827Smatteo bool is_uint64_t() const { return strcmp(type, "uint64_t") == 0; } 2299336Sdfr uint64_t get_uint64_t() const { return *((uint64_t*) addr); } 230121767Speter void set_uint64_t(uint64_t value) { *((uint64_t*) addr) = value; } 23175754Siedowse 232172827Smatteo bool is_double() const { return strcmp(type, "double") == 0; } 23374462Salfred double get_double() const { return *((double*) addr); } 234172827Smatteo void set_double(double value) { *((double*) addr) = value; } 235172827Smatteo 2361558Srgrimes bool is_ccstr() const { return strcmp(type, "ccstr") == 0 || strcmp(type, "ccstrlist") == 0; } 23774462Salfred bool ccstr_accumulates() const { return strcmp(type, "ccstrlist") == 0; } 23874462Salfred ccstr get_ccstr() const { return *((ccstr*) addr); } 239192934Srmacklem void set_ccstr(ccstr value) { *((ccstr*) addr) = value; } 240192934Srmacklem 241192934Srmacklem bool is_unlocker() const; 242192934Srmacklem bool is_unlocked() const; 243192934Srmacklem bool is_writeable() const; 244149433Spjd bool is_external() const; 24575801Siedowse 2461558Srgrimes void print_on(outputStream* st, bool withComments = false ); 2471558Srgrimes void print_as_flag(outputStream* st); 24883653Speter}; 2491558Srgrimes 2501558Srgrimes// debug flags control various aspects of the VM and are global accessible 2511558Srgrimes 25275801Siedowse// use FlagSetting to temporarily change some debug flag 253100336Sjoerg// e.g. FlagSetting fs(DebugThisAndThat, true); 25474462Salfred// restored to previous value upon leaving scope 255184588Sdfrclass FlagSetting { 2561558Srgrimes bool val; 2571558Srgrimes bool* flag; 2581558Srgrimes public: 25992882Simp FlagSetting(bool& fl, bool newValue) { flag = &fl; val = fl; fl = newValue; } 2601558Srgrimes ~FlagSetting() { *flag = val; } 2611558Srgrimes}; 2621558Srgrimes 2631558Srgrimes 2641558Srgrimesclass CounterSetting { 2651558Srgrimes intx* counter; 2661558Srgrimes public: 2671558Srgrimes CounterSetting(intx* cnt) { counter = cnt; (*counter)++; } 2681558Srgrimes ~CounterSetting() { (*counter)--; } 2691558Srgrimes}; 2701558Srgrimes 2711558Srgrimes 2721558Srgrimesclass IntFlagSetting { 2731558Srgrimes intx val; 2741558Srgrimes intx* flag; 2751558Srgrimes public: 2761558Srgrimes IntFlagSetting(intx& fl, intx newValue) { flag = &fl; val = fl; fl = newValue; } 27775754Siedowse ~IntFlagSetting() { *flag = val; } 278172827Smatteo}; 279172827Smatteo 280172827Smatteo 281149433Spjdclass DoubleFlagSetting { 282172827Smatteo double val; 283172827Smatteo double* flag; 284109363Smbr public: 2851558Srgrimes DoubleFlagSetting(double& fl, double newValue) { flag = &fl; val = fl; fl = newValue; } 28674462Salfred ~DoubleFlagSetting() { *flag = val; } 287150214Spjd}; 288149433Spjd 289149433Spjd 290149433Spjdclass CommandLineFlags { 291149433Spjd public: 292149433Spjd static bool boolAt(char* name, size_t len, bool* value); 29374462Salfred static bool boolAt(char* name, bool* value) { return boolAt(name, strlen(name), value); } 29474462Salfred static bool boolAtPut(char* name, size_t len, bool* value, FlagValueOrigin origin); 29574462Salfred static bool boolAtPut(char* name, bool* value, FlagValueOrigin origin) { return boolAtPut(name, strlen(name), value, origin); } 29674462Salfred 29774462Salfred static bool intxAt(char* name, size_t len, intx* value); 29874462Salfred static bool intxAt(char* name, intx* value) { return intxAt(name, strlen(name), value); } 2992999Swollman static bool intxAtPut(char* name, size_t len, intx* value, FlagValueOrigin origin); 300192993Srmacklem static bool intxAtPut(char* name, intx* value, FlagValueOrigin origin) { return intxAtPut(name, strlen(name), value, origin); } 3011558Srgrimes 30225087Sdfr static bool uintxAt(char* name, size_t len, uintx* value); 30325087Sdfr static bool uintxAt(char* name, uintx* value) { return uintxAt(name, strlen(name), value); } 30425087Sdfr static bool uintxAtPut(char* name, size_t len, uintx* value, FlagValueOrigin origin); 305192993Srmacklem static bool uintxAtPut(char* name, uintx* value, FlagValueOrigin origin) { return uintxAtPut(name, strlen(name), value, origin); } 306192934Srmacklem 307192934Srmacklem static bool uint64_tAt(char* name, size_t len, uint64_t* value); 3089336Sdfr static bool uint64_tAt(char* name, uint64_t* value) { return uint64_tAt(name, strlen(name), value); } 3099336Sdfr static bool uint64_tAtPut(char* name, size_t len, uint64_t* value, FlagValueOrigin origin); 3109336Sdfr static bool uint64_tAtPut(char* name, uint64_t* value, FlagValueOrigin origin) { return uint64_tAtPut(name, strlen(name), value, origin); } 3119336Sdfr 3129336Sdfr static bool doubleAt(char* name, size_t len, double* value); 3139336Sdfr static bool doubleAt(char* name, double* value) { return doubleAt(name, strlen(name), value); } 3148688Sphk static bool doubleAtPut(char* name, size_t len, double* value, FlagValueOrigin origin); 3158688Sphk static bool doubleAtPut(char* name, double* value, FlagValueOrigin origin) { return doubleAtPut(name, strlen(name), value, origin); } 3168688Sphk 31731656Sguido static bool ccstrAt(char* name, size_t len, ccstr* value); 318121767Speter static bool ccstrAt(char* name, ccstr* value) { return ccstrAt(name, strlen(name), value); } 31931656Sguido static bool ccstrAtPut(char* name, size_t len, ccstr* value, FlagValueOrigin origin); 320126572Sbms static bool ccstrAtPut(char* name, ccstr* value, FlagValueOrigin origin) { return ccstrAtPut(name, strlen(name), value, origin); } 321126572Sbms 322126572Sbms // Returns false if name is not a command line flag. 323126572Sbms static bool wasSetOnCmdline(const char* name, bool* value); 324126572Sbms static void printSetFlags(); 325126572Sbms 326172827Smatteo static void printFlags(bool withComments = false ); 327126572Sbms 328172827Smatteo static void verify() PRODUCT_RETURN; 329172827Smatteo}; 330172827Smatteo 331172827Smatteo// use this for flags that are true by default in the debug version but 332172827Smatteo// false in the optimized version, and vice versa 333172827Smatteo#ifdef ASSERT 334172827Smatteo#define trueInDebug true 335172827Smatteo#define falseInDebug false 336172827Smatteo#else 337172827Smatteo#define trueInDebug false 338172827Smatteo#define falseInDebug true 339172827Smatteo#endif 340172827Smatteo 341172827Smatteo// use this for flags that are true per default in the product build 342172827Smatteo// but false in development builds, and vice versa 343172827Smatteo#ifdef PRODUCT 344172827Smatteo#define trueInProduct true 345172827Smatteo#define falseInProduct false 346172827Smatteo#else 347172827Smatteo#define trueInProduct false 348172827Smatteo#define falseInProduct true 3491558Srgrimes#endif 35037663Scharnier 3511558Srgrimes// use this for flags that are true per default in the tiered build 352192934Srmacklem// but false in non-tiered builds, and vice versa 353192934Srmacklem#ifdef TIERED 354192993Srmacklem#define trueInTiered true 355192934Srmacklem#define falseInTiered false 356192934Srmacklem#else 357192934Srmacklem#define trueInTiered false 358192934Srmacklem#define falseInTiered true 359192934Srmacklem#endif 360192934Srmacklem 361192934Srmacklem#ifdef JAVASE_EMBEDDED 362192934Srmacklem#define falseInEmbedded false 363192934Srmacklem#else 364192934Srmacklem#define falseInEmbedded true 365192934Srmacklem#endif 366192934Srmacklem 367192934Srmacklem// develop flags are settable / visible only during development and are constant in the PRODUCT version 368192934Srmacklem// product flags are always settable / visible 369192934Srmacklem// notproduct flags are settable / visible only during development and are not declared in the PRODUCT version 370192934Srmacklem 371192934Srmacklem// A flag must be declared with one of the following types: 3721558Srgrimes// bool, intx, uintx, ccstr. 3731558Srgrimes// The type "ccstr" is an alias for "const char*" and is used 3741558Srgrimes// only in this file, because the macrology requires single-token type names. 3751558Srgrimes 3761558Srgrimes// Note: Diagnostic options not meant for VM tuning or for product modes. 377166440Spjd// They are to be used for VM quality assurance or field diagnosis 378166440Spjd// of VM bugs. They are hidden so that users will not be encouraged to 379166440Spjd// try them as if they were VM ordinary execution options. However, they 380166440Spjd// are available in the product version of the VM. Under instruction 3811558Srgrimes// from support engineers, VM customers can turn them on to collect 3821558Srgrimes// diagnostic information about VM problems. To use a VM diagnostic 38337663Scharnier// option, you must first specify +UnlockDiagnosticVMOptions. 3841558Srgrimes// (This master switch also affects the behavior of -Xprintflags.) 3851558Srgrimes// 38637663Scharnier// experimental flags are in support of features that are not 3871558Srgrimes// part of the officially supported product, but are available 3881558Srgrimes// for experimenting with. They could, for example, be performance 38937663Scharnier// features that may not have undergone full or rigorous QA, but which may 3901558Srgrimes// help performance in some cases and released for experimentation 3911558Srgrimes// by the community of users and developers. This flag also allows one to 3921558Srgrimes// be able to build a fully supported product that nonetheless also 3931558Srgrimes// ships with some unsupported, lightly tested, experimental features. 3941558Srgrimes// Like the UnlockDiagnosticVMOptions flag above, there is a corresponding 39575754Siedowse// UnlockExperimentalVMOptions flag, which allows the control and 39674462Salfred// modification of the experimental flags. 397164394Srodrigc// 398149433Spjd// Nota bene: neither diagnostic nor experimental options should be used casually, 399149433Spjd// and they are not supported on production loads, except under explicit 400149433Spjd// direction from support engineers. 40174462Salfred// 40274462Salfred// manageable flags are writeable external product flags. 403109363Smbr// They are dynamically writeable through the JDK management interface 404109363Smbr// (com.sun.management.HotSpotDiagnosticMXBean API) and also through JConsole. 40524759Sguido// These flags are external exported interface (see CCC). The list of 40683687Speter// manageable flags can be queried programmatically through the management 40783687Speter// interface. 40883687Speter// 40924759Sguido// A flag can be made as "manageable" only if 41024759Sguido// - the flag is defined in a CCC as an external exported interface. 41124759Sguido// - the VM implementation supports dynamic setting of the flag. 41224330Sguido// This implies that the VM must *always* query the flag variable 413126572Sbms// and not reuse state related to the flag state at any given time. 414172827Smatteo// - you want the flag to be queried programmatically by the customers. 415172827Smatteo// 416172827Smatteo// product_rw flags are writeable internal product flags. 417172827Smatteo// They are like "manageable" flags but for internal/private use. 418172827Smatteo// The list of product_rw flags are internal/private flags which 419172827Smatteo// may be changed/removed in a future release. It can be set 420172827Smatteo// through the management interface to get/set value 421172827Smatteo// when the name of flag is supplied. 422172827Smatteo// 423172827Smatteo// A flag can be made as "product_rw" only if 424172827Smatteo// - the VM implementation supports dynamic setting of the flag. 425172827Smatteo// This implies that the VM must *always* query the flag variable 426172827Smatteo// and not reuse state related to the flag state at any given time. 427172827Smatteo// 428172827Smatteo// Note that when there is a need to support develop flags to be writeable, 429172827Smatteo// it can be done in the same way as product_rw. 430172827Smatteo 431172827Smatteo#define RUNTIME_FLAGS(develop, develop_pd, product, product_pd, diagnostic, experimental, notproduct, manageable, product_rw, lp64_product) \ 432172827Smatteo \ 433172827Smatteo lp64_product(bool, UseCompressedOops, false, \ 434172827Smatteo "Use 32-bit object references in 64-bit VM. " \ 435172827Smatteo "lp64_product means flag is always constant in 32 bit VM") \ 436172827Smatteo \ 437172827Smatteo notproduct(bool, CheckCompressedOops, true, \ 438172827Smatteo "generate checks in encoding/decoding code in debug VM") \ 439172827Smatteo \ 440172827Smatteo product_pd(uintx, HeapBaseMinAddress, \ 441172827Smatteo "OS specific low limit for heap base address") \ 442172827Smatteo \ 443172827Smatteo diagnostic(bool, PrintCompressedOopsMode, false, \ 444172827Smatteo "Print compressed oops base address and encoding mode") \ 445172827Smatteo \ 446172827Smatteo lp64_product(intx, ObjectAlignmentInBytes, 8, \ 447172827Smatteo "Default object alignment in bytes, 8 is minimum") \ 448172827Smatteo \ 449126572Sbms /* UseMembar is theoretically a temp flag used for memory barrier \ 450172827Smatteo * removal testing. It was supposed to be removed before FCS but has \ 45174462Salfred * been re-added (see 6401008) */ \ 452172827Smatteo product_pd(bool, UseMembar, \ 45374462Salfred "(Unstable) Issues membars on thread state transitions") \ 45474462Salfred \ 455172827Smatteo /* Temp PPC Flag to allow disabling the use of lwsync on ppc platforms \ 456172827Smatteo * that don't support it. This will be replaced by processor detection \ 457172827Smatteo * logic. \ 458172827Smatteo */ \ 459172827Smatteo product(bool, UsePPCLWSYNC, true, \ 460172827Smatteo "Use lwsync instruction if true, else use slower sync") \ 461172827Smatteo \ 462172827Smatteo develop(bool, CleanChunkPoolAsync, falseInEmbedded, \ 463172827Smatteo "Whether to clean the chunk pool asynchronously") \ 46474462Salfred \ 465172827Smatteo /* Temporary: See 6948537 */ \ 46674462Salfred experimental(bool, UseMemSetInBOT, true, \ 46774462Salfred "(Unstable) uses memset in BOT updates in GC code") \ 46874462Salfred \ 4691558Srgrimes diagnostic(bool, UnlockDiagnosticVMOptions, trueInDebug, \ 4701558Srgrimes "Enable normal processing of flags relating to field diagnostics")\ 47175754Siedowse \ 47275754Siedowse experimental(bool, UnlockExperimentalVMOptions, false, \ 47375754Siedowse "Enable normal processing of flags relating to experimental features")\ 47475754Siedowse \ 47575754Siedowse product(bool, JavaMonitorsInStackTrace, true, \ 47675754Siedowse "Print info. about Java monitor locks when the stacks are dumped")\ 47775754Siedowse \ 47875754Siedowse product_pd(bool, UseLargePages, \ 47975754Siedowse "Use large page memory") \ 48075754Siedowse \ 48175754Siedowse product_pd(bool, UseLargePagesIndividualAllocation, \ 48275754Siedowse "Allocate large pages individually for better affinity") \ 48375754Siedowse \ 48475754Siedowse develop(bool, LargePagesIndividualAllocationInjectError, false, \ 48575754Siedowse "Fail large pages individual allocation") \ 48675754Siedowse \ 48775754Siedowse develop(bool, TracePageSizes, false, \ 48875754Siedowse "Trace page size selection and usage.") \ 48975754Siedowse \ 49075754Siedowse product(bool, UseNUMA, false, \ 491172827Smatteo "Use NUMA if available") \ 492172827Smatteo \ 493172827Smatteo product(bool, UseNUMAInterleaving, false, \ 494172827Smatteo "Interleave memory across NUMA nodes if available") \ 495172827Smatteo \ 496172827Smatteo product(uintx, NUMAInterleaveGranularity, 2*M, \ 497172827Smatteo "Granularity to use for NUMA interleaving on Windows OS") \ 498172827Smatteo \ 499172827Smatteo product(bool, ForceNUMA, false, \ 500172827Smatteo "Force NUMA optimizations on single-node/UMA systems") \ 501172827Smatteo \ 502172827Smatteo product(intx, NUMAChunkResizeWeight, 20, \ 503172827Smatteo "Percentage (0-100) used to weight the current sample when " \ 504172827Smatteo "computing exponentially decaying average for " \ 505172827Smatteo "AdaptiveNUMAChunkSizing") \ 506172827Smatteo \ 507172827Smatteo product(intx, NUMASpaceResizeRate, 1*G, \ 508172827Smatteo "Do not reallocate more that this amount per collection") \ 509172827Smatteo \ 510172827Smatteo product(bool, UseAdaptiveNUMAChunkSizing, true, \ 511172827Smatteo "Enable adaptive chunk sizing for NUMA") \ 512172827Smatteo \ 513172827Smatteo product(bool, NUMAStats, false, \ 514172827Smatteo "Print NUMA stats in detailed heap information") \ 515172827Smatteo \ 516172827Smatteo product(intx, NUMAPageScanRate, 256, \ 517172827Smatteo "Maximum number of pages to include in the page scan procedure") \ 518172827Smatteo \ 519172827Smatteo product_pd(bool, NeedsDeoptSuspend, \ 520172827Smatteo "True for register window machines (sparc/ia64)") \ 521172827Smatteo \ 522172827Smatteo product(intx, UseSSE, 99, \ 523172827Smatteo "Highest supported SSE instructions set on x86/x64") \ 524172827Smatteo \ 525172827Smatteo product(intx, UseVIS, 99, \ 526172827Smatteo "Highest supported VIS instructions set on Sparc") \ 527172827Smatteo \ 528172827Smatteo product(uintx, LargePageSizeInBytes, 0, \ 529172827Smatteo "Large page size (0 to let VM choose the page size") \ 530172827Smatteo \ 531172827Smatteo product(uintx, LargePageHeapSizeThreshold, 128*M, \ 532172827Smatteo "Use large pages if max heap is at least this big") \ 533172827Smatteo \ 534172827Smatteo product(bool, ForceTimeHighResolution, false, \ 535172827Smatteo "Using high time resolution(For Win32 only)") \ 536172827Smatteo \ 537172827Smatteo develop(bool, TraceItables, false, \ 538172827Smatteo "Trace initialization and use of itables") \ 539172827Smatteo \ 540172827Smatteo develop(bool, TracePcPatching, false, \ 541172827Smatteo "Trace usage of frame::patch_pc") \ 542172827Smatteo \ 543172827Smatteo develop(bool, TraceJumps, false, \ 544172827Smatteo "Trace assembly jumps in thread ring buffer") \ 545172827Smatteo \ 546172827Smatteo develop(bool, TraceRelocator, false, \ 547172827Smatteo "Trace the bytecode relocator") \ 548172827Smatteo \ 549172827Smatteo develop(bool, TraceLongCompiles, false, \ 550172827Smatteo "Print out every time compilation is longer than " \ 551172827Smatteo "a given threashold") \ 552172827Smatteo \ 553172827Smatteo develop(bool, SafepointALot, false, \ 554172827Smatteo "Generates a lot of safepoints. Works with " \ 555172827Smatteo "GuaranteedSafepointInterval") \ 556172827Smatteo \ 557172827Smatteo product_pd(bool, BackgroundCompilation, \ 558172827Smatteo "A thread requesting compilation is not blocked during " \ 559172827Smatteo "compilation") \ 560172827Smatteo \ 561172827Smatteo product(bool, PrintVMQWaitTime, false, \ 562172827Smatteo "Prints out the waiting time in VM operation queue") \ 563172827Smatteo \ 564172827Smatteo develop(bool, BailoutToInterpreterForThrows, false, \ 565172827Smatteo "Compiled methods which throws/catches exceptions will be " \ 566172827Smatteo "deopt and intp.") \ 567172827Smatteo \ 568172827Smatteo develop(bool, NoYieldsInMicrolock, false, \ 569172827Smatteo "Disable yields in microlock") \ 570172827Smatteo \ 571172827Smatteo develop(bool, TraceOopMapGeneration, false, \ 572172827Smatteo "Shows oopmap generation") \ 573172827Smatteo \ 574172827Smatteo product(bool, MethodFlushing, true, \ 575172827Smatteo "Reclamation of zombie and not-entrant methods") \ 576172827Smatteo \ 577172827Smatteo develop(bool, VerifyStack, false, \ 578172827Smatteo "Verify stack of each thread when it is entering a runtime call") \ 579172827Smatteo \ 580172827Smatteo diagnostic(bool, ForceUnreachable, false, \ 581172827Smatteo "Make all non code cache addresses to be unreachable with forcing use of 64bit literal fixups") \ 582172827Smatteo \ 583172827Smatteo notproduct(bool, StressDerivedPointers, false, \ 584172827Smatteo "Force scavenge when a derived pointers is detected on stack " \ 585172827Smatteo "after rtm call") \ 586172827Smatteo \ 587172827Smatteo develop(bool, TraceDerivedPointers, false, \ 588172827Smatteo "Trace traversal of derived pointers on stack") \ 589172827Smatteo \ 590172827Smatteo notproduct(bool, TraceCodeBlobStacks, false, \ 591172827Smatteo "Trace stack-walk of codeblobs") \ 592172827Smatteo \ 593172827Smatteo product(bool, PrintJNIResolving, false, \ 594172827Smatteo "Used to implement -v:jni") \ 595172827Smatteo \ 596172827Smatteo notproduct(bool, PrintRewrites, false, \ 597172827Smatteo "Print methods that are being rewritten") \ 598172827Smatteo \ 599172827Smatteo product(bool, UseInlineCaches, true, \ 600172827Smatteo "Use Inline Caches for virtual calls ") \ 601172827Smatteo \ 602172827Smatteo develop(bool, InlineArrayCopy, true, \ 603172827Smatteo "inline arraycopy native that is known to be part of " \ 604172827Smatteo "base library DLL") \ 605172827Smatteo \ 606172827Smatteo develop(bool, InlineObjectHash, true, \ 607172827Smatteo "inline Object::hashCode() native that is known to be part " \ 608172827Smatteo "of base library DLL") \ 609172827Smatteo \ 610172827Smatteo develop(bool, InlineObjectCopy, true, \ 611172827Smatteo "inline Object.clone and Arrays.copyOf[Range] intrinsics") \ 612172827Smatteo \ 613172827Smatteo develop(bool, InlineNatives, true, \ 614172827Smatteo "inline natives that are known to be part of base library DLL") \ 615172827Smatteo \ 616172827Smatteo develop(bool, InlineMathNatives, true, \ 617172827Smatteo "inline SinD, CosD, etc.") \ 618172827Smatteo \ 619172827Smatteo develop(bool, InlineClassNatives, true, \ 620172827Smatteo "inline Class.isInstance, etc") \ 621172827Smatteo \ 622172827Smatteo develop(bool, InlineAtomicLong, true, \ 623172827Smatteo "inline sun.misc.AtomicLong") \ 624172827Smatteo \ 625172827Smatteo develop(bool, InlineThreadNatives, true, \ 626172827Smatteo "inline Thread.currentThread, etc") \ 627172827Smatteo \ 628173056Ssimon develop(bool, InlineReflectionGetCallerClass, true, \ 629172827Smatteo "inline sun.reflect.Reflection.getCallerClass(), known to be part "\ 630172827Smatteo "of base library DLL") \ 631172827Smatteo \ 632172827Smatteo develop(bool, InlineUnsafeOps, true, \ 633172827Smatteo "inline memory ops (native methods) from sun.misc.Unsafe") \ 634172827Smatteo \ 635172827Smatteo develop(bool, ConvertCmpD2CmpF, true, \ 636172827Smatteo "Convert cmpD to cmpF when one input is constant in float range") \ 637172827Smatteo \ 638172827Smatteo develop(bool, ConvertFloat2IntClipping, true, \ 639172827Smatteo "Convert float2int clipping idiom to integer clipping") \ 640172827Smatteo \ 641172827Smatteo develop(bool, SpecialStringCompareTo, true, \ 642172827Smatteo "special version of string compareTo") \ 643172827Smatteo \ 644172827Smatteo develop(bool, SpecialStringIndexOf, true, \ 645172827Smatteo "special version of string indexOf") \ 646172827Smatteo \ 647172827Smatteo develop(bool, SpecialStringEquals, true, \ 648172827Smatteo "special version of string equals") \ 649172827Smatteo \ 650172827Smatteo develop(bool, SpecialArraysEquals, true, \ 651172827Smatteo "special version of Arrays.equals(char[],char[])") \ 652172827Smatteo \ 653172827Smatteo product(bool, UseSSE42Intrinsics, false, \ 654172827Smatteo "SSE4.2 versions of intrinsics") \ 655172827Smatteo \ 656172827Smatteo product(bool, UseCondCardMark, false, \ 657172827Smatteo "Check for already marked card before updating card table") \ 658172827Smatteo \ 659172827Smatteo develop(bool, TraceCallFixup, false, \ 660172827Smatteo "traces all call fixups") \ 661172827Smatteo \ 662172827Smatteo develop(bool, DeoptimizeALot, false, \ 663172827Smatteo "deoptimize at every exit from the runtime system") \ 664172827Smatteo \ 665172827Smatteo notproduct(ccstrlist, DeoptimizeOnlyAt, "", \ 666172827Smatteo "a comma separated list of bcis to deoptimize at") \ 667172827Smatteo \ 668172827Smatteo product(bool, DeoptimizeRandom, false, \ 669172827Smatteo "deoptimize random frames on random exit from the runtime system")\ 670172827Smatteo \ 671172827Smatteo notproduct(bool, ZombieALot, false, \ 672172827Smatteo "creates zombies (non-entrant) at exit from the runt. system") \ 673172827Smatteo \ 674172827Smatteo product(bool, UnlinkSymbolsALot, false, \ 675172827Smatteo "unlink unreferenced symbols from the symbol table at safepoints")\ 676172827Smatteo \ 677172827Smatteo notproduct(bool, WalkStackALot, false, \ 678172827Smatteo "trace stack (no print) at every exit from the runtime system") \ 679172827Smatteo \ 680172827Smatteo product(bool, Debugging, false, \ 681172827Smatteo "set when executing debug methods in debug.ccp " \ 682172827Smatteo "(to prevent triggering assertions)") \ 683172827Smatteo \ 684172827Smatteo notproduct(bool, StrictSafepointChecks, trueInDebug, \ 685172827Smatteo "Enable strict checks that safepoints cannot happen for threads " \ 686172827Smatteo "that used No_Safepoint_Verifier") \ 687172827Smatteo \ 688172827Smatteo notproduct(bool, VerifyLastFrame, false, \ 689172827Smatteo "Verify oops on last frame on entry to VM") \ 690172827Smatteo \ 691172827Smatteo develop(bool, TraceHandleAllocation, false, \ 692172827Smatteo "Prints out warnings when suspicious many handles are allocated") \ 693172827Smatteo \ 694172827Smatteo product(bool, UseCompilerSafepoints, true, \ 695172827Smatteo "Stop at safepoints in compiled code") \ 696172827Smatteo \ 697172827Smatteo product(bool, UseSplitVerifier, true, \ 698172827Smatteo "use split verifier with StackMapTable attributes") \ 699172827Smatteo \ 700172827Smatteo product(bool, FailOverToOldVerifier, true, \ 701172827Smatteo "fail over to old verifier when split verifier fails") \ 702172827Smatteo \ 703172827Smatteo develop(bool, ShowSafepointMsgs, false, \ 704172827Smatteo "Show msg. about safepoint synch.") \ 705172827Smatteo \ 706172827Smatteo product(bool, SafepointTimeout, false, \ 707172827Smatteo "Time out and warn or fail after SafepointTimeoutDelay " \ 708172827Smatteo "milliseconds if failed to reach safepoint") \ 709172827Smatteo \ 710172827Smatteo develop(bool, DieOnSafepointTimeout, false, \ 711172827Smatteo "Die upon failure to reach safepoint (see SafepointTimeout)") \ 712172827Smatteo \ 713172827Smatteo /* 50 retries * (5 * current_retry_count) millis = ~6.375 seconds */ \ 714172827Smatteo /* typically, at most a few retries are needed */ \ 715172827Smatteo product(intx, SuspendRetryCount, 50, \ 716172827Smatteo "Maximum retry count for an external suspend request") \ 717172827Smatteo \ 718172827Smatteo product(intx, SuspendRetryDelay, 5, \ 719172827Smatteo "Milliseconds to delay per retry (* current_retry_count)") \ 720172827Smatteo \ 721172827Smatteo product(bool, AssertOnSuspendWaitFailure, false, \ 722172827Smatteo "Assert/Guarantee on external suspend wait failure") \ 723172827Smatteo \ 724172827Smatteo product(bool, TraceSuspendWaitFailures, false, \ 725172827Smatteo "Trace external suspend wait failures") \ 726172827Smatteo \ 727172827Smatteo product(bool, MaxFDLimit, true, \ 728172827Smatteo "Bump the number of file descriptors to max in solaris.") \ 729172827Smatteo \ 7301558Srgrimes notproduct(bool, LogEvents, trueInDebug, \ 7311558Srgrimes "Enable Event log") \ 73237663Scharnier \ 73337663Scharnier product(bool, BytecodeVerificationRemote, true, \ 73437663Scharnier "Enables the Java bytecode verifier for remote classes") \ 73537663Scharnier \ 736192993Srmacklem product(bool, BytecodeVerificationLocal, false, \ 737172827Smatteo "Enables the Java bytecode verifier for local classes") \ 73837663Scharnier \ 73937663Scharnier develop(bool, ForceFloatExceptions, trueInDebug, \ 74037663Scharnier "Force exceptions on FP stack under/overflow") \ 7411558Srgrimes \ 7421558Srgrimes develop(bool, SoftMatchFailure, trueInProduct, \ 7431558Srgrimes "If the DFA fails to match a node, print a message and bail out") \ 7441558Srgrimes \ 7451558Srgrimes develop(bool, VerifyStackAtCalls, false, \ 7461558Srgrimes "Verify that the stack pointer is unchanged after calls") \ 7471558Srgrimes \ 7481558Srgrimes develop(bool, TraceJavaAssertions, false, \ 7491558Srgrimes "Trace java language assertions") \ 7501558Srgrimes \ 7519336Sdfr notproduct(bool, CheckAssertionStatusDirectives, false, \ 7521558Srgrimes "temporary - see javaClasses.cpp") \ 7531558Srgrimes \ 75474462Salfred notproduct(bool, PrintMallocFree, false, \ 75574462Salfred "Trace calls to C heap malloc/free allocation") \ 75674462Salfred \ 7579336Sdfr product(bool, PrintOopAddress, false, \ 75823681Speter "Always print the location of the oop") \ 75928911Sguido \ 7609336Sdfr notproduct(bool, VerifyCodeCacheOften, false, \ 7611558Srgrimes "Verify compiled-code cache often") \ 7629336Sdfr \ 7639336Sdfr develop(bool, ZapDeadCompiledLocals, false, \ 76474462Salfred "Zap dead locals in compiler frames") \ 76574462Salfred \ 76674462Salfred notproduct(bool, ZapDeadLocalsOld, false, \ 76775635Siedowse "Zap dead locals (old version, zaps all frames when " \ 76874462Salfred "entering the VM") \ 76974462Salfred \ 77075635Siedowse notproduct(bool, CheckOopishValues, false, \ 77174462Salfred "Warn if value contains oop ( requires ZapDeadLocals)") \ 77274462Salfred \ 77374462Salfred develop(bool, UseMallocOnly, false, \ 77474462Salfred "use only malloc/free for allocation (no resource area/arena)") \ 77574462Salfred \ 77674462Salfred develop(bool, PrintMalloc, false, \ 77774462Salfred "print all malloc/free calls") \ 77874462Salfred \ 77974462Salfred develop(bool, PrintMallocStatistics, false, \ 7801558Srgrimes "print malloc/free statistics") \ 7811558Srgrimes \ 782121556Speter develop(bool, ZapResourceArea, trueInDebug, \ 78337663Scharnier "Zap freed resource/arena space with 0xABABABAB") \ 7841558Srgrimes \ 7851558Srgrimes notproduct(bool, ZapVMHandleArea, trueInDebug, \ 7869336Sdfr "Zap freed VM handle space with 0xBCBCBCBC") \ 78731656Sguido \ 78831656Sguido develop(bool, ZapJNIHandleArea, trueInDebug, \ 78974462Salfred "Zap freed JNI handle space with 0xFEFEFEFE") \ 7901558Srgrimes \ 7911558Srgrimes notproduct(bool, ZapStackSegments, trueInDebug, \ 7921558Srgrimes "Zap allocated/freed Stack segments with 0xFADFADED") \ 793121556Speter \ 79431656Sguido develop(bool, ZapUnusedHeapArea, trueInDebug, \ 79574462Salfred "Zap unused heap space with 0xBAADBABE") \ 7961558Srgrimes \ 7971558Srgrimes develop(bool, TraceZapUnusedHeapArea, false, \ 7981558Srgrimes "Trace zapping of unused heap space") \ 7991558Srgrimes \ 8001558Srgrimes develop(bool, CheckZapUnusedHeapArea, false, \ 8011558Srgrimes "Check zapping of unused heap space") \ 8029336Sdfr \ 8039336Sdfr develop(bool, ZapFillerObjects, trueInDebug, \ 8041558Srgrimes "Zap filler objects with 0xDEAFBABE") \ 80551968Salfred \ 8061558Srgrimes develop(bool, PrintVMMessages, true, \ 8079336Sdfr "Print vm messages on console") \ 80874462Salfred \ 8091558Srgrimes product(bool, PrintGCApplicationConcurrentTime, false, \ 8101558Srgrimes "Print the time the application has been running") \ 81131656Sguido \ 81237663Scharnier product(bool, PrintGCApplicationStoppedTime, false, \ 81374462Salfred "Print the time the application has been stopped") \ 8141558Srgrimes \ 81537663Scharnier notproduct(uintx, ErrorHandlerTest, 0, \ 81628911Sguido "If > 0, provokes an error after VM initialization; the value" \ 8171558Srgrimes "determines which error to provoke. See test_error_handler()" \ 8181558Srgrimes "in debug.cpp.") \ 8191558Srgrimes \ 8209336Sdfr develop(bool, Verbose, false, \ 8211558Srgrimes "Prints additional debugging information from other modes") \ 8229336Sdfr \ 8239336Sdfr develop(bool, PrintMiscellaneous, false, \ 8241558Srgrimes "Prints uncategorized debugging information (requires +Verbose)") \ 82574462Salfred \ 82674462Salfred develop(bool, WizardMode, false, \ 82774462Salfred "Prints much more debugging information") \ 82828911Sguido \ 829121556Speter product(bool, ShowMessageBoxOnError, false, \ 83028911Sguido "Keep process alive on VM fatal error") \ 83137663Scharnier \ 83228911Sguido product(bool, CreateMinidumpOnCrash, false, \ 83328911Sguido "Create minidump on VM fatal error") \ 83428911Sguido \ 8359336Sdfr product_pd(bool, UseOSErrorReporting, \ 8369336Sdfr "Let VM fatal error propagate to the OS (ie. WER on Windows)") \ 8379336Sdfr \ 8389336Sdfr product(bool, SuppressFatalErrorMessage, false, \ 8399336Sdfr "Do NO Fatal Error report [Avoid deadlock]") \ 8401558Srgrimes \ 84123681Speter product(ccstrlist, OnError, "", \ 8429336Sdfr "Run user-defined commands on fatal error; see VMError.cpp " \ 8431558Srgrimes "for examples") \ 84437663Scharnier \ 845121556Speter product(ccstrlist, OnOutOfMemoryError, "", \ 8461558Srgrimes "Run user-defined commands on first java.lang.OutOfMemoryError") \ 84737663Scharnier \ 8489336Sdfr manageable(bool, HeapDumpBeforeFullGC, false, \ 8491558Srgrimes "Dump heap to file before any major stop-world GC") \ 8501558Srgrimes \ 851184588Sdfr manageable(bool, HeapDumpAfterFullGC, false, \ 852184588Sdfr "Dump heap to file after any major stop-world GC") \ 853121556Speter \ 854121556Speter manageable(bool, HeapDumpOnOutOfMemoryError, false, \ 85537663Scharnier "Dump heap to file when java.lang.OutOfMemoryError is thrown") \ 85674462Salfred \ 85774462Salfred manageable(ccstr, HeapDumpPath, NULL, \ 8581558Srgrimes "When HeapDumpOnOutOfMemoryError is on, the path (filename or" \ 85974462Salfred "directory) of the dump file (defaults to java_pid<pid>.hprof" \ 8601558Srgrimes "in the working directory)") \ 86137663Scharnier \ 862121767Speter develop(uintx, SegmentedHeapDumpThreshold, 2*G, \ 86331656Sguido "Generate a segmented heap dump (JAVA PROFILE 1.0.2 format) " \ 86431656Sguido "when the heap usage is larger than this") \ 86574462Salfred \ 86631656Sguido develop(uintx, HeapDumpSegmentSize, 1*G, \ 8671558Srgrimes "Approximate segment size when generating a segmented heap dump") \ 86831656Sguido \ 86931656Sguido develop(bool, BreakAtWarning, false, \ 87074462Salfred "Execute breakpoint upon encountering VM warning") \ 87131656Sguido \ 87228911Sguido product_pd(bool, UseVectoredExceptions, \ 873121556Speter "Temp Flag - Use Vectored Exceptions rather than SEH (Windows Only)") \ 874121556Speter \ 87537663Scharnier develop(bool, TraceVMOperation, false, \ 8769336Sdfr "Trace vm operations") \ 8771558Srgrimes \ 8781558Srgrimes develop(bool, UseFakeTimers, false, \ 879121556Speter "Tells whether the VM should use system time or a fake timer") \ 88037663Scharnier \ 881121767Speter diagnostic(bool, LogCompilation, false, \ 88231656Sguido "Log compilation activity in detail to hotspot.log or LogFile") \ 88331656Sguido \ 88474462Salfred product(bool, PrintCompilation, false, \ 8851558Srgrimes "Print compilations") \ 8861558Srgrimes \ 8879336Sdfr diagnostic(bool, TraceNMethodInstalls, false, \ 88831656Sguido "Trace nmethod intallation") \ 88931656Sguido \ 89074462Salfred diagnostic(intx, ScavengeRootsInCode, 1, \ 8911558Srgrimes "0: do not allow scavengable oops in the code cache; " \ 8921558Srgrimes "1: allow scavenging from the code cache; " \ 8931558Srgrimes "2: emit as many constants as the compiler can see") \ 894121556Speter \ 89531656Sguido diagnostic(bool, TraceOSRBreakpoint, false, \ 89674462Salfred "Trace OSR Breakpoint ") \ 8971558Srgrimes \ 8981558Srgrimes diagnostic(bool, TraceCompileTriggered, false, \ 8991558Srgrimes "Trace compile triggered") \ 90051968Salfred \ 90151968Salfred diagnostic(bool, TraceTriggers, false, \ 90251968Salfred "Trace triggers") \ 90374462Salfred \ 90451968Salfred product(bool, AlwaysRestoreFPU, false, \ 905121556Speter "Restore the FPU control word after every JNI call (expensive)") \ 90637663Scharnier \ 90774462Salfred diagnostic(bool, PrintCompilation2, false, \ 90875635Siedowse "Print additional statistics per compilation") \ 90975635Siedowse \ 910121767Speter diagnostic(bool, PrintAdapterHandlers, false, \ 91131656Sguido "Print code generated for i2c/c2i adapters") \ 91231656Sguido \ 91374462Salfred develop(bool, VerifyAdapterSharing, false, \ 9141558Srgrimes "Verify that the code for shared adapters is the equivalent") \ 9151558Srgrimes \ 9169336Sdfr diagnostic(bool, PrintAssembly, false, \ 91731656Sguido "Print assembly code (using external disassembler.so)") \ 91831656Sguido \ 91974462Salfred diagnostic(ccstr, PrintAssemblyOptions, NULL, \ 9201558Srgrimes "Options string passed to disassembler.so") \ 9211558Srgrimes \ 9221558Srgrimes diagnostic(bool, PrintNMethods, false, \ 923121556Speter "Print assembly code for nmethods when generated") \ 92437663Scharnier \ 92574462Salfred diagnostic(bool, PrintNativeNMethods, false, \ 92675635Siedowse "Print assembly code for native nmethods when generated") \ 92775635Siedowse \ 928121767Speter develop(bool, PrintDebugInfo, false, \ 92931656Sguido "Print debug information for all nmethods when generated") \ 93031656Sguido \ 93174462Salfred develop(bool, PrintRelocations, false, \ 9321558Srgrimes "Print relocation information for all nmethods when generated") \ 9331558Srgrimes \ 934121556Speter develop(bool, PrintDependencies, false, \ 935121556Speter "Print dependency information for all nmethods when generated") \ 936121556Speter \ 937100117Salfred develop(bool, PrintExceptionHandlers, false, \ 938121767Speter "Print exception handler tables for all nmethods when generated") \ 93931656Sguido \ 94031656Sguido develop(bool, InterceptOSException, false, \ 94174462Salfred "Starts debugger when an implicit OS (e.g., NULL) " \ 9421558Srgrimes "exception happens") \ 9431558Srgrimes \ 9441558Srgrimes notproduct(bool, PrintCodeCache, false, \ 9451558Srgrimes "Print the compiled_code cache when exiting") \ 9461558Srgrimes \ 9471558Srgrimes develop(bool, PrintCodeCache2, false, \ 9481558Srgrimes "Print detailed info on the compiled_code cache when exiting") \ 9491558Srgrimes \ 9501558Srgrimes diagnostic(bool, PrintStubCode, false, \ 9511558Srgrimes "Print generated stub code") \ 9521558Srgrimes \ 9531558Srgrimes product(bool, StackTraceInThrowable, true, \ 9541558Srgrimes "Collect backtrace in throwable when exception happens") \ 9551558Srgrimes \ 9561558Srgrimes product(bool, OmitStackTraceInFastThrow, true, \ 9571558Srgrimes "Omit backtraces for some 'hot' exceptions in optimized code") \ 9581558Srgrimes \ 9591558Srgrimes product(bool, ProfilerPrintByteCodeStatistics, false, \ 9601558Srgrimes "Prints byte code statictics when dumping profiler output") \ 9619336Sdfr \ 9621558Srgrimes product(bool, ProfilerRecordPC, false, \ 9631558Srgrimes "Collects tick for each 16 byte interval of compiled code") \ 9649336Sdfr \ 9651558Srgrimes product(bool, ProfileVM, false, \ 9669336Sdfr "Profiles ticks that fall within VM (either in the VM Thread " \ 9671558Srgrimes "or VM code called through stubs)") \ 96892806Sobrien \ 9699336Sdfr product(bool, ProfileIntervals, false, \ 970184588Sdfr "Prints profiles for each interval (see ProfileIntervalsTicks)") \ 9711558Srgrimes \ 9721558Srgrimes notproduct(bool, ProfilerCheckIntervals, false, \ 9731558Srgrimes "Collect and print info on spacing of profiler ticks") \ 9749336Sdfr \ 9759336Sdfr develop(bool, PrintJVMWarnings, false, \ 9769336Sdfr "Prints warnings for unimplemented JVM functions") \ 9779336Sdfr \ 9789336Sdfr product(bool, PrintWarnings, true, \ 9799336Sdfr "Prints JVM warnings to output stream") \ 9809336Sdfr \ 9819336Sdfr notproduct(uintx, WarnOnStalledSpinLock, 0, \ 9829336Sdfr "Prints warnings for stalled SpinLocks") \ 983184588Sdfr \ 984184588Sdfr develop(bool, InitializeJavaLangSystem, true, \ 985184588Sdfr "Initialize java.lang.System - turn off for individual " \ 986184588Sdfr "method debugging") \ 987184588Sdfr \ 988184588Sdfr develop(bool, InitializeJavaLangString, true, \ 989184588Sdfr "Initialize java.lang.String - turn off for individual " \ 990184588Sdfr "method debugging") \ 991184588Sdfr \ 992184588Sdfr develop(bool, InitializeJavaLangExceptionsErrors, true, \ 993184588Sdfr "Initialize various error and exception classes - turn off for " \ 994184588Sdfr "individual method debugging") \ 995184588Sdfr \ 996184588Sdfr product(bool, RegisterFinalizersAtInit, true, \ 9979336Sdfr "Register finalizable objects at end of Object.<init> or " \ 9989336Sdfr "after allocation") \ 9991558Srgrimes \ 10001558Srgrimes develop(bool, RegisterReferences, true, \ 10011558Srgrimes "Tells whether the VM should register soft/weak/final/phantom " \ 10021558Srgrimes "references") \ 10031558Srgrimes \ 10041558Srgrimes develop(bool, IgnoreRewrites, false, \ 10051558Srgrimes "Supress rewrites of bytecodes in the oopmap generator. " \ 10061558Srgrimes "This is unsafe!") \ 10071558Srgrimes \ 10081558Srgrimes develop(bool, PrintCodeCacheExtension, false, \ 10091558Srgrimes "Print extension of code cache") \ 10101558Srgrimes \ 10111558Srgrimes develop(bool, UsePrivilegedStack, true, \ 10121558Srgrimes "Enable the security JVM functions") \ 10131558Srgrimes \ 10141558Srgrimes develop(bool, IEEEPrecision, true, \ 10151558Srgrimes "Enables IEEE precision (for INTEL only)") \ 10161558Srgrimes \ 10171558Srgrimes develop(bool, ProtectionDomainVerification, true, \ 10181558Srgrimes "Verifies protection domain before resolution in system " \ 10191558Srgrimes "dictionary") \ 10201558Srgrimes \ 10211558Srgrimes product(bool, ClassUnloading, true, \ 10221558Srgrimes "Do unloading of classes") \ 10231558Srgrimes \ 10241558Srgrimes diagnostic(bool, LinkWellKnownClasses, false, \ 10251558Srgrimes "Resolve a well known class as soon as its name is seen") \ 10261558Srgrimes \ 10271558Srgrimes develop(bool, DisableStartThread, false, \ 10281558Srgrimes "Disable starting of additional Java threads " \ 10291558Srgrimes "(for debugging only)") \ 10301558Srgrimes \ 10311558Srgrimes develop(bool, MemProfiling, false, \ 1032100117Salfred "Write memory usage profiling to log file") \ 10331558Srgrimes \ 10341558Srgrimes notproduct(bool, PrintSystemDictionaryAtExit, false, \ 1035100117Salfred "Prints the system dictionary at exit") \ 10361558Srgrimes \ 10371558Srgrimes diagnostic(bool, UnsyncloadClass, false, \ 10381558Srgrimes "Unstable: VM calls loadClass unsynchronized. Custom " \ 10399336Sdfr "class loader must call VM synchronized for findClass " \ 10409336Sdfr "and defineClass.") \ 10411558Srgrimes \ 10429336Sdfr product(bool, AlwaysLockClassLoader, false, \ 10439336Sdfr "Require the VM to acquire the class loader lock before calling " \ 10449336Sdfr "loadClass() even for class loaders registering " \ 10451558Srgrimes "as parallel capable") \ 10461558Srgrimes \ 10471558Srgrimes product(bool, AllowParallelDefineClass, false, \ 1048100117Salfred "Allow parallel defineClass requests for class loaders " \ 1049100117Salfred "registering as parallel capable") \ 10501558Srgrimes \ 10511558Srgrimes product(bool, MustCallLoadClassInternal, false, \ 10521558Srgrimes "Call loadClassInternal() rather than loadClass()") \ 1053100117Salfred \ 10541558Srgrimes product_pd(bool, DontYieldALot, \ 10551558Srgrimes "Throw away obvious excess yield calls (for SOLARIS only)") \ 10561558Srgrimes \ 10579336Sdfr product_pd(bool, ConvertSleepToYield, \ 10581558Srgrimes "Converts sleep(0) to thread yield " \ 10591558Srgrimes "(may be off for SOLARIS to improve GUI)") \ 10601558Srgrimes \ 10611558Srgrimes product(bool, ConvertYieldToSleep, false, \ 10629336Sdfr "Converts yield to a sleep of MinSleepInterval to simulate Win32 "\ 10631558Srgrimes "behavior (SOLARIS only)") \ 10641558Srgrimes \ 10651558Srgrimes product(bool, UseBoundThreads, true, \ 10661558Srgrimes "Bind user level threads to kernel threads (for SOLARIS only)") \ 10671558Srgrimes \ 10681558Srgrimes develop(bool, UseDetachedThreads, true, \ 10691558Srgrimes "Use detached threads that are recycled upon termination " \ 10701558Srgrimes "(for SOLARIS only)") \ 1071100117Salfred \ 10721558Srgrimes product(bool, UseLWPSynchronization, true, \ 10731558Srgrimes "Use LWP-based instead of libthread-based synchronization " \ 10741558Srgrimes "(SPARC only)") \ 10751558Srgrimes \ 1076100117Salfred product(ccstr, SyncKnobs, NULL, \ 10771558Srgrimes "(Unstable) Various monitor synchronization tunables") \ 10781558Srgrimes \ 10791558Srgrimes product(intx, EmitSync, 0, \ 10801558Srgrimes "(Unsafe,Unstable) " \ 10811558Srgrimes " Controls emission of inline sync fast-path code") \ 10821558Srgrimes \ 10831558Srgrimes product(intx, AlwaysInflate, 0, "(Unstable) Force inflation") \ 10841558Srgrimes \ 10851558Srgrimes product(intx, MonitorBound, 0, "Bound Monitor population") \ 1086100117Salfred \ 10871558Srgrimes product(bool, MonitorInUseLists, false, "Track Monitors for Deflation") \ 10881558Srgrimes \ 10891558Srgrimes product(intx, Atomics, 0, \ 10901558Srgrimes "(Unsafe,Unstable) Diagnostic - Controls emission of atomics") \ 10911558Srgrimes \ 10921558Srgrimes product(intx, FenceInstruction, 0, \ 10931558Srgrimes "(Unsafe,Unstable) Experimental") \ 10941558Srgrimes \ 10951558Srgrimes product(intx, SyncFlags, 0, "(Unsafe,Unstable) Experimental Sync flags" ) \ 10961558Srgrimes \ 1097100117Salfred product(intx, SyncVerbose, 0, "(Unstable)" ) \ 1098100117Salfred \ 1099100117Salfred product(intx, ClearFPUAtPark, 0, "(Unsafe,Unstable)" ) \ 1100100117Salfred \ 1101100117Salfred product(intx, hashCode, 0, \ 1102100117Salfred "(Unstable) select hashCode generation algorithm" ) \ 1103100117Salfred \ 11041558Srgrimes product(intx, WorkAroundNPTLTimedWaitHang, 1, \ 11051558Srgrimes "(Unstable, Linux-specific)" \ 11061558Srgrimes " avoid NPTL-FUTEX hang pthread_cond_timedwait" ) \ 11071558Srgrimes \ 11081558Srgrimes product(bool, FilterSpuriousWakeups, true, \ 11091558Srgrimes "Prevent spurious or premature wakeups from object.wait " \ 11101558Srgrimes "(Solaris only)") \ 111174462Salfred \ 11128871Srgrimes product(intx, NativeMonitorTimeout, -1, "(Unstable)" ) \ 11131558Srgrimes product(intx, NativeMonitorFlags, 0, "(Unstable)" ) \ 11141558Srgrimes product(intx, NativeMonitorSpinLimit, 20, "(Unstable)" ) \ 11151558Srgrimes \ 11161558Srgrimes develop(bool, UsePthreads, false, \ 11171558Srgrimes "Use pthread-based instead of libthread-based synchronization " \ 11181558Srgrimes "(SPARC only)") \ 11198871Srgrimes \ 11201558Srgrimes product(bool, AdjustConcurrency, false, \ 11211558Srgrimes "call thr_setconcurrency at thread create time to avoid " \ 11221558Srgrimes "LWP starvation on MP systems (For Solaris Only)") \ 11231558Srgrimes \ 11241558Srgrimes develop(bool, UpdateHotSpotCompilerFileOnError, true, \ 11251558Srgrimes "Should the system attempt to update the compiler file when " \ 11261558Srgrimes "an error occurs?") \ 11271558Srgrimes \ 11281558Srgrimes product(bool, ReduceSignalUsage, false, \ 11291558Srgrimes "Reduce the use of OS signals in Java and/or the VM") \ 11301558Srgrimes \ 11311558Srgrimes notproduct(bool, ValidateMarkSweep, false, \ 1132100117Salfred "Do extra validation during MarkSweep collection") \ 11331558Srgrimes \ 11341558Srgrimes notproduct(bool, RecordMarkSweepCompaction, false, \ 11351558Srgrimes "Enable GC-to-GC recording and querying of compaction during " \ 11361558Srgrimes "MarkSweep") \ 11371558Srgrimes \ 1138100117Salfred develop_pd(bool, ShareVtableStubs, \ 1139100117Salfred "Share vtable stubs (smaller code but worse branch prediction") \ 1140100117Salfred \ 1141100117Salfred develop(bool, LoadLineNumberTables, true, \ 1142100117Salfred "Tells whether the class file parser loads line number tables") \ 1143100117Salfred \ 1144100117Salfred develop(bool, LoadLocalVariableTables, true, \ 1145100117Salfred "Tells whether the class file parser loads local variable tables")\ 1146100117Salfred \ 1147100117Salfred develop(bool, LoadLocalVariableTypeTables, true, \ 1148100117Salfred "Tells whether the class file parser loads local variable type tables")\ 1149100117Salfred \ 1150100117Salfred product(bool, AllowUserSignalHandlers, false, \ 1151100117Salfred "Do not complain if the application installs signal handlers " \ 1152100117Salfred "(Solaris & Linux only)") \ 1153100117Salfred \ 1154100117Salfred product(bool, UseSignalChaining, true, \ 1155100117Salfred "Use signal-chaining to invoke signal handlers installed " \ 115696622Siedowse "by the application (Solaris & Linux only)") \ 115796622Siedowse \ 11581558Srgrimes product(bool, UseAltSigs, false, \ 11591558Srgrimes "Use alternate signals instead of SIGUSR1 & SIGUSR2 for VM " \ 11601558Srgrimes "internal signals (Solaris only)") \ 1161166440Spjd \ 11621558Srgrimes product(bool, UseSpinning, false, \ 1163166440Spjd "Use spinning in monitor inflation and before entry") \ 1164166440Spjd \ 11651558Srgrimes product(bool, PreSpinYield, false, \ 11661558Srgrimes "Yield before inner spinning loop") \ 11671558Srgrimes \ 11681558Srgrimes product(bool, PostSpinYield, true, \ 11691558Srgrimes "Yield after inner spinning loop") \ 1170166440Spjd \ 117172650Sgreen product(bool, AllowJNIEnvProxy, false, \ 11721558Srgrimes "Allow JNIEnv proxies for jdbx") \ 1173166440Spjd \ 11741558Srgrimes product(bool, JNIDetachReleasesMonitors, true, \ 1175192934Srmacklem "JNI DetachCurrentThread releases monitors owned by thread") \ 11761558Srgrimes \ 11771558Srgrimes product(bool, RestoreMXCSROnJNICalls, false, \ 11781558Srgrimes "Restore MXCSR when returning from JNI calls") \ 117937663Scharnier \ 11801558Srgrimes product(bool, CheckJNICalls, false, \ 11811558Srgrimes "Verify all arguments to JNI calls") \ 11821558Srgrimes \ 11831558Srgrimes product(bool, UseFastJNIAccessors, true, \ 11841558Srgrimes "Use optimized versions of Get<Primitive>Field") \ 11851558Srgrimes \ 11861558Srgrimes product(bool, EagerXrunInit, false, \ 11871558Srgrimes "Eagerly initialize -Xrun libraries; allows startup profiling, " \ 11881558Srgrimes " but not all -Xrun libraries may support the state of the VM at this time") \ 11891558Srgrimes \ 11901558Srgrimes product(bool, PreserveAllAnnotations, false, \ 11911558Srgrimes "Preserve RuntimeInvisibleAnnotations as well as RuntimeVisibleAnnotations") \ 11921558Srgrimes \ 11931558Srgrimes develop(uintx, PreallocatedOutOfMemoryErrorCount, 4, \ 1194192934Srmacklem "Number of OutOfMemoryErrors preallocated with backtrace") \ 11951558Srgrimes \ 11961558Srgrimes product(bool, LazyBootClassLoader, true, \ 1197192934Srmacklem "Enable/disable lazy opening of boot class path entries") \ 1198192934Srmacklem \ 1199192934Srmacklem diagnostic(bool, UseIncDec, true, \ 1200192934Srmacklem "Use INC, DEC instructions on x86") \ 1201192934Srmacklem \ 1202192934Srmacklem product(bool, UseNewLongLShift, false, \ 1203192934Srmacklem "Use optimized bitwise shift left") \ 1204192934Srmacklem \ 1205192934Srmacklem product(bool, UseStoreImmI16, true, \ 1206192934Srmacklem "Use store immediate 16-bits value instruction on x86") \ 1207192934Srmacklem \ 1208192934Srmacklem product(bool, UseAddressNop, false, \ 1209192934Srmacklem "Use '0F 1F [addr]' NOP instructions on x86 cpus") \ 1210192934Srmacklem \ 1211192934Srmacklem product(bool, UseXmmLoadAndClearUpper, true, \ 1212192934Srmacklem "Load low part of XMM register and clear upper part") \ 1213192934Srmacklem \ 12141558Srgrimes product(bool, UseXmmRegToRegMoveAll, false, \ 12151558Srgrimes "Copy all XMM register bits when moving value between registers") \ 12161558Srgrimes \ 12171558Srgrimes product(bool, UseXmmI2D, false, \ 12181558Srgrimes "Use SSE2 CVTDQ2PD instruction to convert Integer to Double") \ 12191558Srgrimes \ 12201558Srgrimes product(bool, UseXmmI2F, false, \ 12211558Srgrimes "Use SSE2 CVTDQ2PS instruction to convert Integer to Float") \ 12221558Srgrimes \ 12231558Srgrimes product(bool, UseXMMForArrayCopy, false, \ 12241558Srgrimes "Use SSE2 MOVQ instruction for Arraycopy") \ 12251558Srgrimes \ 12261558Srgrimes product(bool, UseUnalignedLoadStores, false, \ 12271558Srgrimes "Use SSE2 MOVDQU instruction for Arraycopy") \ 12281558Srgrimes \ 122937663Scharnier product(bool, UseCBCond, false, \ 12301558Srgrimes "Use compare and branch instruction on SPARC") \ 12311558Srgrimes \ 12321558Srgrimes product(intx, FieldsAllocationStyle, 1, \ 12331558Srgrimes "0 - type based with oops first, 1 - with oops last, " \ 12341558Srgrimes "2 - oops in super and sub classes are together") \ 12351558Srgrimes \ 12361558Srgrimes product(bool, CompactFields, true, \ 12371558Srgrimes "Allocate nonstatic fields in gaps between previous fields") \ 12381558Srgrimes \ 1239192934Srmacklem notproduct(bool, PrintCompactFieldsSavings, false, \ 1240192934Srmacklem "Print how many words were saved with CompactFields") \ 1241192934Srmacklem \ 1242192934Srmacklem product(bool, UseBiasedLocking, true, \ 1243192934Srmacklem "Enable biased locking in JVM") \ 1244192934Srmacklem \ 1245192934Srmacklem product(intx, BiasedLockingStartupDelay, 4000, \ 12461558Srgrimes "Number of milliseconds to wait before enabling biased locking") \ 12471558Srgrimes \ 12481558Srgrimes diagnostic(bool, PrintBiasedLockingStatistics, false, \ 124937663Scharnier "Print statistics of biased locking in JVM") \ 12501558Srgrimes \ 12511558Srgrimes product(intx, BiasedLockingBulkRebiasThreshold, 20, \ 12521558Srgrimes "Threshold of number of revocations per type to try to " \ 1253192934Srmacklem "rebias all objects in the heap of that type") \ 1254192934Srmacklem \ 1255192934Srmacklem product(intx, BiasedLockingBulkRevokeThreshold, 40, \ 12561558Srgrimes "Threshold of number of revocations per type to permanently " \ 12571558Srgrimes "revoke biases of all objects in the heap of that type") \ 12581558Srgrimes \ 1259192934Srmacklem product(intx, BiasedLockingDecayTime, 25000, \ 1260192934Srmacklem "Decay time (in milliseconds) to re-enable bulk rebiasing of a " \ 1261192934Srmacklem "type after previous bulk rebias") \ 1262192934Srmacklem \ 1263192934Srmacklem develop(bool, JavaObjectsInPerm, false, \ 1264192934Srmacklem "controls whether Classes and interned Strings are allocated" \ 1265192934Srmacklem "in perm. This purely intended to allow debugging issues" \ 1266192934Srmacklem "in production.") \ 1267192934Srmacklem \ 1268192934Srmacklem /* tracing */ \ 1269192934Srmacklem \ 1270192934Srmacklem notproduct(bool, TraceRuntimeCalls, false, \ 1271192934Srmacklem "Trace run-time calls") \ 1272192934Srmacklem \ 12731558Srgrimes develop(bool, TraceJNICalls, false, \ 1274192934Srmacklem "Trace JNI calls") \ 1275192934Srmacklem \ 1276192934Srmacklem notproduct(bool, TraceJVMCalls, false, \ 1277192934Srmacklem "Trace JVM calls") \ 1278192934Srmacklem \ 1279192934Srmacklem product(ccstr, TraceJVMTI, NULL, \ 1280192934Srmacklem "Trace flags for JVMTI functions and events") \ 1281192934Srmacklem \ 1282192934Srmacklem /* This option can change an EMCP method into an obsolete method. */ \ 1283192934Srmacklem /* This can affect tests that except specific methods to be EMCP. */ \ 1284192934Srmacklem /* This option should be used with caution. */ \ 1285192934Srmacklem product(bool, StressLdcRewrite, false, \ 1286192934Srmacklem "Force ldc -> ldc_w rewrite during RedefineClasses") \ 1287192934Srmacklem \ 1288192934Srmacklem product(intx, TraceRedefineClasses, 0, \ 1289192934Srmacklem "Trace level for JVMTI RedefineClasses") \ 1290192934Srmacklem \ 1291192934Srmacklem develop(bool, StressMethodComparator, false, \ 1292192934Srmacklem "run the MethodComparator on all loaded methods") \ 1293192934Srmacklem \ 1294192934Srmacklem /* change to false by default sometime after Mustang */ \ 1295192934Srmacklem product(bool, VerifyMergedCPBytecodes, true, \ 1296192934Srmacklem "Verify bytecodes after RedefineClasses constant pool merging") \ 1297192934Srmacklem \ 1298192934Srmacklem develop(bool, TraceJNIHandleAllocation, false, \ 1299192934Srmacklem "Trace allocation/deallocation of JNI handle blocks") \ 1300192934Srmacklem \ 1301192934Srmacklem develop(bool, TraceThreadEvents, false, \ 1302192934Srmacklem "Trace all thread events") \ 1303192934Srmacklem \ 1304192934Srmacklem develop(bool, TraceBytecodes, false, \ 1305192934Srmacklem "Trace bytecode execution") \ 1306192934Srmacklem \ 1307192934Srmacklem develop(bool, TraceClassInitialization, false, \ 1308192934Srmacklem "Trace class initialization") \ 13091558Srgrimes \ 1310192934Srmacklem develop(bool, TraceExceptions, false, \ 13111558Srgrimes "Trace exceptions") \ 1312192934Srmacklem \ 1313192934Srmacklem develop(bool, TraceICs, false, \ 13141558Srgrimes "Trace inline cache changes") \ 13151558Srgrimes \ 13161558Srgrimes notproduct(bool, TraceInvocationCounterOverflow, false, \ 13171558Srgrimes "Trace method invocation counter overflow") \ 13181558Srgrimes \ 13191558Srgrimes develop(bool, TraceInlineCacheClearing, false, \ 13201558Srgrimes "Trace clearing of inline caches in nmethods") \ 13211558Srgrimes \ 13221558Srgrimes develop(bool, TraceDependencies, false, \ 13231558Srgrimes "Trace dependencies") \ 13241558Srgrimes \ 13251558Srgrimes develop(bool, VerifyDependencies, trueInDebug, \ 13261558Srgrimes "Exercise and verify the compilation dependency mechanism") \ 13271558Srgrimes \ 13281558Srgrimes develop(bool, TraceNewOopMapGeneration, false, \ 13291558Srgrimes "Trace OopMapGeneration") \ 13301558Srgrimes \ 13311558Srgrimes develop(bool, TraceNewOopMapGenerationDetailed, false, \ 13321558Srgrimes "Trace OopMapGeneration: print detailed cell states") \ 13331558Srgrimes \ 13341558Srgrimes develop(bool, TimeOopMap, false, \ 13351558Srgrimes "Time calls to GenerateOopMap::compute_map() in sum") \ 13361558Srgrimes \ 13371558Srgrimes develop(bool, TimeOopMap2, false, \ 13381558Srgrimes "Time calls to GenerateOopMap::compute_map() individually") \ 13391558Srgrimes \ 134037003Sjoerg develop(bool, TraceMonitorMismatch, false, \ 134137663Scharnier "Trace monitor matching failures during OopMapGeneration") \ 134237663Scharnier \ 134337004Sjoerg develop(bool, TraceOopMapRewrites, false, \ 134437003Sjoerg "Trace rewritting of method oops during oop map generation") \ 134537663Scharnier \ 134637663Scharnier develop(bool, TraceSafepoint, false, \ 134729317Sjlemon "Trace safepoint operations") \ 13481558Srgrimes \ 13497401Swpaul develop(bool, TraceICBuffer, false, \ 135037663Scharnier "Trace usage of IC buffer") \ 135129317Sjlemon \ 13521558Srgrimes develop(bool, TraceCompiledIC, false, \ 13531558Srgrimes "Trace changes of compiled IC") \ 13541558Srgrimes \ 13551558Srgrimes notproduct(bool, TraceZapDeadLocals, false, \ 13561558Srgrimes "Trace zapping dead locals") \ 13571558Srgrimes \ 13581558Srgrimes develop(bool, TraceStartupTime, false, \ 13591558Srgrimes "Trace setup time") \ 13601558Srgrimes \ 13611558Srgrimes product(ccstr, HPILibPath, NULL, \ 13621558Srgrimes "Specify alternate path to HPI library") \ 13631558Srgrimes \ 13641558Srgrimes develop(bool, TraceProtectionDomainVerification, false, \ 13651558Srgrimes "Trace protection domain verifcation") \ 13661558Srgrimes \ 136775641Siedowse develop(bool, TraceClearedExceptions, false, \ 13681558Srgrimes "Prints when an exception is forcibly cleared") \ 136937663Scharnier \ 13701558Srgrimes product(bool, TraceClassResolution, false, \ 13711558Srgrimes "Trace all constant pool resolutions (for debugging)") \ 13721558Srgrimes \ 13731558Srgrimes product(bool, TraceBiasedLocking, false, \ 13741558Srgrimes "Trace biased locking in JVM") \ 13751558Srgrimes \ 137675801Siedowse product(bool, TraceMonitorInflation, false, \ 13771558Srgrimes "Trace monitor inflation in JVM") \ 13781558Srgrimes \ 137929317Sjlemon /* assembler */ \ 138074462Salfred product(bool, Use486InstrsOnly, false, \ 138174462Salfred "Use 80486 Compliant instruction subset") \ 138229317Sjlemon \ 138329317Sjlemon /* gc */ \ 138429317Sjlemon \ 138529317Sjlemon product(bool, UseSerialGC, false, \ 138674462Salfred "Use the serial garbage collector") \ 138729317Sjlemon \ 138829317Sjlemon product(bool, UseG1GC, false, \ 138929317Sjlemon "Use the Garbage-First garbage collector") \ 139029317Sjlemon \ 139129317Sjlemon product(bool, UseParallelGC, false, \ 13921558Srgrimes "Use the Parallel Scavenge garbage collector") \ 13931558Srgrimes \ 1394192934Srmacklem product(bool, UseParallelOldGC, false, \ 1395192934Srmacklem "Use the Parallel Old garbage collector") \ 1396192934Srmacklem \ 1397192934Srmacklem product(uintx, HeapMaximumCompactionInterval, 20, \ 1398192934Srmacklem "How often should we maximally compact the heap (not allowing " \ 1399192934Srmacklem "any dead space)") \ 14001558Srgrimes \ 14011558Srgrimes product(uintx, HeapFirstMaximumCompactionCount, 3, \ 14021558Srgrimes "The collection count for the first maximum compaction") \ 14031558Srgrimes \ 14041558Srgrimes product(bool, UseMaximumCompactionOnSystemGC, true, \ 14051558Srgrimes "In the Parallel Old garbage collector maximum compaction for " \ 14061558Srgrimes "a system GC") \ 140775635Siedowse \ 140875635Siedowse product(uintx, ParallelOldDeadWoodLimiterMean, 50, \ 140975635Siedowse "The mean used by the par compact dead wood" \ 141075635Siedowse "limiter (a number between 0-100).") \ 141175635Siedowse \ 14121558Srgrimes product(uintx, ParallelOldDeadWoodLimiterStdDev, 80, \ 14131558Srgrimes "The standard deviation used by the par compact dead wood" \ 14141558Srgrimes "limiter (a number between 0-100).") \ 1415192934Srmacklem \ 1416192934Srmacklem product(uintx, ParallelGCThreads, 0, \ 1417192934Srmacklem "Number of parallel threads parallel gc will use") \ 1418192934Srmacklem \ 1419192934Srmacklem develop(bool, ParallelOldGCSplitALot, false, \ 1420192934Srmacklem "Provoke splitting (copying data from a young gen space to" \ 14211558Srgrimes "multiple destination spaces)") \ 14221558Srgrimes \ 14231558Srgrimes develop(uintx, ParallelOldGCSplitInterval, 3, \ 14249336Sdfr "How often to provoke splitting a young gen space") \ 14251558Srgrimes \ 14261558Srgrimes develop(bool, TraceRegionTasksQueuing, false, \ 14271558Srgrimes "Trace the queuing of the region tasks") \ 14281558Srgrimes \ 14299336Sdfr product(uintx, ConcGCThreads, 0, \ 14301558Srgrimes "Number of threads concurrent gc will use") \ 14311558Srgrimes \ 14321558Srgrimes product(uintx, YoungPLABSize, 4096, \ 14331558Srgrimes "Size of young gen promotion labs (in HeapWords)") \ 14341558Srgrimes \ 14351558Srgrimes product(uintx, OldPLABSize, 1024, \ 14361558Srgrimes "Size of old gen promotion labs (in HeapWords)") \ 14371558Srgrimes \ 14381558Srgrimes product(uintx, GCTaskTimeStampEntries, 200, \ 14391558Srgrimes "Number of time stamp entries per gc worker thread") \ 14401558Srgrimes \ 14411558Srgrimes product(bool, AlwaysTenure, false, \ 14421558Srgrimes "Always tenure objects in eden. (ParallelGC only)") \ 14431558Srgrimes \ 14441558Srgrimes product(bool, NeverTenure, false, \ 14451558Srgrimes "Never tenure objects in eden, May tenure on overflow " \ 14461558Srgrimes "(ParallelGC only)") \ 14471558Srgrimes \ 14481558Srgrimes product(bool, ScavengeBeforeFullGC, true, \ 14491558Srgrimes "Scavenge youngest generation before each full GC, " \ 1450192934Srmacklem "used with UseParallelGC") \ 14511558Srgrimes \ 14521558Srgrimes develop(bool, ScavengeWithObjectsInToSpace, false, \ 14531558Srgrimes "Allow scavenges to occur when to_space contains objects.") \ 14541558Srgrimes \ 14551558Srgrimes product(bool, UseConcMarkSweepGC, false, \ 14561558Srgrimes "Use Concurrent Mark-Sweep GC in the old generation") \ 14571558Srgrimes \ 14581558Srgrimes product(bool, ExplicitGCInvokesConcurrent, false, \ 1459166440Spjd "A System.gc() request invokes a concurrent collection;" \ 1460166440Spjd " (effective only when UseConcMarkSweepGC)") \ 1461166440Spjd \ 1462166440Spjd product(bool, ExplicitGCInvokesConcurrentAndUnloadsClasses, false, \ 1463166440Spjd "A System.gc() request invokes a concurrent collection and " \ 1464166440Spjd "also unloads classes during such a concurrent gc cycle " \ 1465166440Spjd "(effective only when UseConcMarkSweepGC)") \ 1466166440Spjd \ 1467166440Spjd product(bool, GCLockerInvokesConcurrent, false, \ 1468166440Spjd "The exit of a JNI CS necessitating a scavenge also" \ 1469166440Spjd " kicks off a bkgrd concurrent collection") \ 1470166440Spjd \ 1471166440Spjd product(uintx, GCLockerEdenExpansionPercent, 5, \ 1472166440Spjd "How much the GC can expand the eden by while the GC locker " \ 1473166440Spjd "is active (as a percentage)") \ 1474168684Spjd \ 1475192934Srmacklem develop(bool, UseCMSAdaptiveFreeLists, true, \ 1476166440Spjd "Use Adaptive Free Lists in the CMS generation") \ 1477192934Srmacklem \ 1478166440Spjd develop(bool, UseAsyncConcMarkSweepGC, true, \ 1479166440Spjd "Use Asynchronous Concurrent Mark-Sweep GC in the old generation")\ 1480166440Spjd \ 1481166440Spjd develop(bool, RotateCMSCollectionTypes, false, \ 1482166440Spjd "Rotate the CMS collections among concurrent and STW") \ 1483166440Spjd \ 1484166440Spjd product(bool, UseCMSBestFit, true, \ 1485166440Spjd "Use CMS best fit allocation strategy") \ 1486166440Spjd \ 1487166440Spjd product(bool, UseCMSCollectionPassing, true, \ 1488166440Spjd "Use passing of collection from background to foreground") \ 1489166440Spjd \ 1490166440Spjd product(bool, UseParNewGC, false, \ 1491166440Spjd "Use parallel threads in the new generation.") \ 1492166440Spjd \ 1493166440Spjd product(bool, ParallelGCVerbose, false, \ 1494166440Spjd "Verbose output for parallel GC.") \ 1495166440Spjd \ 1496166440Spjd product(intx, ParallelGCBufferWastePct, 10, \ 1497166440Spjd "wasted fraction of parallel allocation buffer.") \ 1498166440Spjd \ 1499166440Spjd diagnostic(bool, ParallelGCRetainPLAB, false, \ 1500166440Spjd "Retain parallel allocation buffers across scavenges; " \ 1501166440Spjd " -- disabled because this currently conflicts with " \ 1502166440Spjd " parallel card scanning under certain conditions ") \ 1503166440Spjd \ 1504166440Spjd product(intx, TargetPLABWastePct, 10, \ 1505166440Spjd "target wasted space in last buffer as pct of overall allocation")\ 1506192934Srmacklem \ 1507192934Srmacklem product(uintx, PLABWeight, 75, \ 1508192934Srmacklem "Percentage (0-100) used to weight the current sample when" \ 1509192934Srmacklem "computing exponentially decaying average for ResizePLAB.") \ 1510192934Srmacklem \ 1511192934Srmacklem product(bool, ResizePLAB, true, \ 1512192934Srmacklem "Dynamically resize (survivor space) promotion labs") \ 1513192934Srmacklem \ 1514192934Srmacklem product(bool, PrintPLAB, false, \ 1515192934Srmacklem "Print (survivor space) promotion labs sizing decisions") \ 1516192934Srmacklem \ 1517192934Srmacklem product(intx, ParGCArrayScanChunk, 50, \ 1518192934Srmacklem "Scan a subset and push remainder, if array is bigger than this") \ 1519192934Srmacklem \ 1520192934Srmacklem product(bool, ParGCUseLocalOverflow, false, \ 1521166440Spjd "Instead of a global overflow list, use local overflow stacks") \ 1522166440Spjd \ 1523166440Spjd product(bool, ParGCTrimOverflow, true, \ 1524166440Spjd "Eagerly trim the local overflow lists (when ParGCUseLocalOverflow") \ 1525166440Spjd \ 1526166440Spjd notproduct(bool, ParGCWorkQueueOverflowALot, false, \ 1527166440Spjd "Whether we should simulate work queue overflow in ParNew") \ 1528166440Spjd \ 1529166440Spjd notproduct(uintx, ParGCWorkQueueOverflowInterval, 1000, \ 1530166440Spjd "An `interval' counter that determines how frequently " \ 1531166440Spjd "we simulate overflow; a smaller number increases frequency") \ 1532166440Spjd \ 1533166440Spjd product(uintx, ParGCDesiredObjsFromOverflowList, 20, \ 1534166440Spjd "The desired number of objects to claim from the overflow list") \ 1535166440Spjd \ 1536166440Spjd diagnostic(intx, ParGCStridesPerThread, 2, \ 1537166440Spjd "The number of strides per worker thread that we divide up the " \ 1538166440Spjd "card table scanning work into") \ 1539166440Spjd \ 1540166440Spjd diagnostic(intx, ParGCCardsPerStrideChunk, 256, \ 1541166440Spjd "The number of cards in each chunk of the parallel chunks used " \ 1542166440Spjd "during card table scanning") \ 1543166440Spjd \ 1544166440Spjd product(uintx, CMSParPromoteBlocksToClaim, 16, \ 1545166440Spjd "Number of blocks to attempt to claim when refilling CMS LAB for "\ 1546166440Spjd "parallel GC.") \ 1547166440Spjd \ 1548166440Spjd product(uintx, OldPLABWeight, 50, \ 1549166440Spjd "Percentage (0-100) used to weight the current sample when" \ 1550166440Spjd "computing exponentially decaying average for resizing CMSParPromoteBlocksToClaim.") \ 1551166440Spjd \ 1552166440Spjd product(bool, ResizeOldPLAB, true, \ 1553166440Spjd "Dynamically resize (old gen) promotion labs") \ 1554166440Spjd \ 1555166440Spjd product(bool, PrintOldPLAB, false, \ 1556166440Spjd "Print (old gen) promotion labs sizing decisions") \ 1557166440Spjd \ 1558166440Spjd product(uintx, CMSOldPLABMin, 16, \ 1559166440Spjd "Min size of CMS gen promotion lab caches per worker per blksize")\ 1560166440Spjd \ 1561166440Spjd product(uintx, CMSOldPLABMax, 1024, \ 1562166440Spjd "Max size of CMS gen promotion lab caches per worker per blksize")\ 1563166440Spjd \ 1564166440Spjd product(uintx, CMSOldPLABNumRefills, 4, \ 1565166440Spjd "Nominal number of refills of CMS gen promotion lab cache" \ 1566166440Spjd " per worker per block size") \ 1567166440Spjd \ 1568166440Spjd product(bool, CMSOldPLABResizeQuicker, false, \ 1569166440Spjd "Whether to react on-the-fly during a scavenge to a sudden" \ 1570166440Spjd " change in block demand rate") \ 1571166440Spjd \ 1572166440Spjd product(uintx, CMSOldPLABToleranceFactor, 4, \ 1573166440Spjd "The tolerance of the phase-change detector for on-the-fly" \ 1574166440Spjd " PLAB resizing during a scavenge") \ 1575166440Spjd \ 1576166440Spjd product(uintx, CMSOldPLABReactivityFactor, 2, \ 1577166440Spjd "The gain in the feedback loop for on-the-fly PLAB resizing" \ 1578166440Spjd " during a scavenge") \ 1579166440Spjd \ 1580166440Spjd product(uintx, CMSOldPLABReactivityCeiling, 10, \ 1581166440Spjd "The clamping of the gain in the feedback loop for on-the-fly" \ 1582166440Spjd " PLAB resizing during a scavenge") \ 1583166440Spjd \ 1584166440Spjd product(bool, AlwaysPreTouch, false, \ 1585168684Spjd "It forces all freshly committed pages to be pre-touched.") \ 1586166440Spjd \ 1587166440Spjd product_pd(intx, CMSYoungGenPerWorker, \ 1588166440Spjd "The maximum size of young gen chosen by default per GC worker " \ 1589166440Spjd "thread available") \ 1590168684Spjd \ 1591168684Spjd product(bool, GCOverheadReporting, false, \ 1592166440Spjd "Enables the GC overhead reporting facility") \ 1593166440Spjd \ 1594166440Spjd product(intx, GCOverheadReportingPeriodMS, 100, \ 1595168684Spjd "Reporting period for conc GC overhead reporting, in ms ") \ 1596166440Spjd \ 1597168684Spjd product(bool, CMSIncrementalMode, false, \ 1598168684Spjd "Whether CMS GC should operate in \"incremental\" mode") \ 1599168684Spjd \ 1600168684Spjd product(uintx, CMSIncrementalDutyCycle, 10, \ 1601192934Srmacklem "CMS incremental mode duty cycle (a percentage, 0-100). If" \ 1602192934Srmacklem "CMSIncrementalPacing is enabled, then this is just the initial" \ 1603192934Srmacklem "value") \ 1604192934Srmacklem \ 1605192934Srmacklem product(bool, CMSIncrementalPacing, true, \ 1606192934Srmacklem "Whether the CMS incremental mode duty cycle should be " \ 1607166440Spjd "automatically adjusted") \ 1608166440Spjd \ 1609166440Spjd product(uintx, CMSIncrementalDutyCycleMin, 0, \ 16101558Srgrimes "Lower bound on the duty cycle when CMSIncrementalPacing is " \ 16111558Srgrimes "enabled (a percentage, 0-100)") \ 16121558Srgrimes \ 16131558Srgrimes product(uintx, CMSIncrementalSafetyFactor, 10, \ 16141558Srgrimes "Percentage (0-100) used to add conservatism when computing the " \ 16151558Srgrimes "duty cycle") \ 16161558Srgrimes \ 16171558Srgrimes product(uintx, CMSIncrementalOffset, 0, \ 16181558Srgrimes "Percentage (0-100) by which the CMS incremental mode duty cycle" \ 16191558Srgrimes " is shifted to the right within the period between young GCs") \ 162023681Speter \ 16211558Srgrimes product(uintx, CMSExpAvgFactor, 50, \ 16221558Srgrimes "Percentage (0-100) used to weight the current sample when" \ 16231558Srgrimes "computing exponential averages for CMS statistics.") \ 16241558Srgrimes \ 16251558Srgrimes product(uintx, CMS_FLSWeight, 75, \ 16261558Srgrimes "Percentage (0-100) used to weight the current sample when" \ 16271558Srgrimes "computing exponentially decating averages for CMS FLS statistics.") \ 16281558Srgrimes \ 16291558Srgrimes product(uintx, CMS_FLSPadding, 1, \ 16301558Srgrimes "The multiple of deviation from mean to use for buffering" \ 16311558Srgrimes "against volatility in free list demand.") \ 16321558Srgrimes \ 16331558Srgrimes product(uintx, FLSCoalescePolicy, 2, \ 16341558Srgrimes "CMS: Aggression level for coalescing, increasing from 0 to 4") \ 163523681Speter \ 16361558Srgrimes product(bool, FLSAlwaysCoalesceLarge, false, \ 16371558Srgrimes "CMS: Larger free blocks are always available for coalescing") \ 16381558Srgrimes \ 16391558Srgrimes product(double, FLSLargestBlockCoalesceProximity, 0.99, \ 16401558Srgrimes "CMS: the smaller the percentage the greater the coalition force")\ 16411558Srgrimes \ 16421558Srgrimes product(double, CMSSmallCoalSurplusPercent, 1.05, \ 16431558Srgrimes "CMS: the factor by which to inflate estimated demand of small" \ 16441558Srgrimes " block sizes to prevent coalescing with an adjoining block") \ 16451558Srgrimes \ 16461558Srgrimes product(double, CMSLargeCoalSurplusPercent, 0.95, \ 16471558Srgrimes "CMS: the factor by which to inflate estimated demand of large" \ 16481558Srgrimes " block sizes to prevent coalescing with an adjoining block") \ 1649100336Sjoerg \ 1650100336Sjoerg product(double, CMSSmallSplitSurplusPercent, 1.10, \ 16511558Srgrimes "CMS: the factor by which to inflate estimated demand of small" \ 16521558Srgrimes " block sizes to prevent splitting to supply demand for smaller" \ 16531558Srgrimes " blocks") \ 16541558Srgrimes \ 16551558Srgrimes product(double, CMSLargeSplitSurplusPercent, 1.00, \ 16561558Srgrimes "CMS: the factor by which to inflate estimated demand of large" \ 16571558Srgrimes " block sizes to prevent splitting to supply demand for smaller" \ 16581558Srgrimes " blocks") \ 16591558Srgrimes \ 16601558Srgrimes product(bool, CMSExtrapolateSweep, false, \ 16611558Srgrimes "CMS: cushion for block demand during sweep") \ 16621558Srgrimes \ 16631558Srgrimes product(uintx, CMS_SweepWeight, 75, \ 16641558Srgrimes "Percentage (0-100) used to weight the current sample when " \ 16651558Srgrimes "computing exponentially decaying average for inter-sweep " \ 16661558Srgrimes "duration") \ 16671558Srgrimes \ 16681558Srgrimes product(uintx, CMS_SweepPadding, 1, \ 16691558Srgrimes "The multiple of deviation from mean to use for buffering " \ 16701558Srgrimes "against volatility in inter-sweep duration.") \ 16711558Srgrimes \ 16721558Srgrimes product(uintx, CMS_SweepTimerThresholdMillis, 10, \ 16731558Srgrimes "Skip block flux-rate sampling for an epoch unless inter-sweep " \ 16741558Srgrimes "duration exceeds this threhold in milliseconds") \ 16751558Srgrimes \ 16761558Srgrimes develop(bool, CMSTraceIncrementalMode, false, \ 16771558Srgrimes "Trace CMS incremental mode") \ 16781558Srgrimes \ 16791558Srgrimes develop(bool, CMSTraceIncrementalPacing, false, \ 16801558Srgrimes "Trace CMS incremental mode pacing computation") \ 16811558Srgrimes \ 16821558Srgrimes develop(bool, CMSTraceThreadState, false, \ 16831558Srgrimes "Trace the CMS thread state (enable the trace_state() method)") \ 16841558Srgrimes \ 16851558Srgrimes product(bool, CMSClassUnloadingEnabled, false, \ 16861558Srgrimes "Whether class unloading enabled when using CMS GC") \ 16871558Srgrimes \ 16881558Srgrimes product(uintx, CMSClassUnloadingMaxInterval, 0, \ 16891558Srgrimes "When CMS class unloading is enabled, the maximum CMS cycle count"\ 16901558Srgrimes " for which classes may not be unloaded") \ 169137663Scharnier \ 169237663Scharnier product(bool, CMSCompactWhenClearAllSoftRefs, true, \ 16931558Srgrimes "Compact when asked to collect CMS gen with clear_all_soft_refs") \ 16941558Srgrimes \ 16951558Srgrimes product(bool, UseCMSCompactAtFullCollection, true, \ 16961558Srgrimes "Use mark sweep compact at full collections") \ 16971558Srgrimes \ 16981558Srgrimes product(uintx, CMSFullGCsBeforeCompaction, 0, \ 16991558Srgrimes "Number of CMS full collection done before compaction if > 0") \ 17001558Srgrimes \ 17011558Srgrimes develop(intx, CMSDictionaryChoice, 0, \ 17021558Srgrimes "Use BinaryTreeDictionary as default in the CMS generation") \ 17031558Srgrimes \ 17041558Srgrimes product(uintx, CMSIndexedFreeListReplenish, 4, \ 17051558Srgrimes "Replenish an indexed free list with this number of chunks") \ 17061558Srgrimes \ 17079336Sdfr product(bool, CMSReplenishIntermediate, true, \ 17081558Srgrimes "Replenish all intermediate free-list caches") \ 17091558Srgrimes \ 17101558Srgrimes product(bool, CMSSplitIndexedFreeListBlocks, true, \ 17119336Sdfr "When satisfying batched demand, split blocks from the " \ 17121558Srgrimes "IndexedFreeList whose size is a multiple of requested size") \ 17131558Srgrimes \ 17141558Srgrimes product(bool, CMSLoopWarn, false, \ 17151558Srgrimes "Warn in case of excessive CMS looping") \ 17169336Sdfr \ 17171558Srgrimes develop(bool, CMSOverflowEarlyRestoration, false, \ 17181558Srgrimes "Whether preserved marks should be restored early") \ 17191558Srgrimes \ 17201558Srgrimes product(uintx, MarkStackSize, NOT_LP64(32*K) LP64_ONLY(4*M), \ 17219336Sdfr "Size of marking stack") \ 17221558Srgrimes \ 17239336Sdfr product(uintx, MarkStackSizeMax, NOT_LP64(4*M) LP64_ONLY(512*M), \ 17241558Srgrimes "Max size of marking stack") \ 17251558Srgrimes \ 17261558Srgrimes notproduct(bool, CMSMarkStackOverflowALot, false, \ 17271558Srgrimes "Whether we should simulate frequent marking stack / work queue" \ 17281558Srgrimes " overflow") \ 17291558Srgrimes \ 17301558Srgrimes notproduct(uintx, CMSMarkStackOverflowInterval, 1000, \ 17311558Srgrimes "An `interval' counter that determines how frequently" \ 17321558Srgrimes " we simulate overflow; a smaller number increases frequency") \ 173337663Scharnier \ 17341558Srgrimes product(uintx, CMSMaxAbortablePrecleanLoops, 0, \ 17351558Srgrimes "(Temporary, subject to experimentation)" \ 17361558Srgrimes "Maximum number of abortable preclean iterations, if > 0") \ 17379336Sdfr \ 17381558Srgrimes product(intx, CMSMaxAbortablePrecleanTime, 5000, \ 17391558Srgrimes "(Temporary, subject to experimentation)" \ 17401558Srgrimes "Maximum time in abortable preclean in ms") \ 17411558Srgrimes \ 17421558Srgrimes product(uintx, CMSAbortablePrecleanMinWorkPerIteration, 100, \ 17431558Srgrimes "(Temporary, subject to experimentation)" \ 17441558Srgrimes "Nominal minimum work per abortable preclean iteration") \ 17451558Srgrimes \ 17461558Srgrimes manageable(intx, CMSAbortablePrecleanWaitMillis, 100, \ 17471558Srgrimes "(Temporary, subject to experimentation)" \ 17489336Sdfr " Time that we sleep between iterations when not given" \ 17491558Srgrimes " enough work per iteration") \ 17501558Srgrimes \ 17511558Srgrimes product(uintx, CMSRescanMultiple, 32, \ 17529336Sdfr "Size (in cards) of CMS parallel rescan task") \ 17531558Srgrimes \ 17541558Srgrimes product(uintx, CMSConcMarkMultiple, 32, \ 17551558Srgrimes "Size (in cards) of CMS concurrent MT marking task") \ 17561558Srgrimes \ 17571558Srgrimes product(uintx, CMSRevisitStackSize, 1*M, \ 17581558Srgrimes "Size of CMS KlassKlass revisit stack") \ 17591558Srgrimes \ 17601558Srgrimes product(bool, CMSAbortSemantics, false, \ 17611558Srgrimes "Whether abort-on-overflow semantics is implemented") \ 17629336Sdfr \ 17631558Srgrimes product(bool, CMSParallelRemarkEnabled, true, \ 17641558Srgrimes "Whether parallel remark enabled (only if ParNewGC)") \ 17659336Sdfr \ 17661558Srgrimes product(bool, CMSParallelSurvivorRemarkEnabled, true, \ 17671558Srgrimes "Whether parallel remark of survivor space" \ 17681558Srgrimes " enabled (effective only if CMSParallelRemarkEnabled)") \ 17691558Srgrimes \ 17701558Srgrimes product(bool, CMSPLABRecordAlways, true, \ 17711558Srgrimes "Whether to always record survivor space PLAB bdries" \ 17721558Srgrimes " (effective only if CMSParallelSurvivorRemarkEnabled)") \ 17731558Srgrimes \ 17741558Srgrimes product(bool, CMSConcurrentMTEnabled, true, \ 17751558Srgrimes "Whether multi-threaded concurrent work enabled (if ParNewGC)") \ 17761558Srgrimes \ 17771558Srgrimes product(bool, CMSPermGenPrecleaningEnabled, true, \ 17781558Srgrimes "Whether concurrent precleaning enabled in perm gen" \ 17791558Srgrimes " (effective only when CMSPrecleaningEnabled is true)") \ 17801558Srgrimes \ 17811558Srgrimes product(bool, CMSPrecleaningEnabled, true, \ 17821558Srgrimes "Whether concurrent precleaning enabled") \ 17831558Srgrimes \ 17841558Srgrimes product(uintx, CMSPrecleanIter, 3, \ 17851558Srgrimes "Maximum number of precleaning iteration passes") \ 17869336Sdfr \ 17871558Srgrimes product(uintx, CMSPrecleanNumerator, 2, \ 17889336Sdfr "CMSPrecleanNumerator:CMSPrecleanDenominator yields convergence" \ 17891558Srgrimes " ratio") \ 17901558Srgrimes \ 17911558Srgrimes product(uintx, CMSPrecleanDenominator, 3, \ 17921558Srgrimes "CMSPrecleanNumerator:CMSPrecleanDenominator yields convergence" \ 17931558Srgrimes " ratio") \ 17941558Srgrimes \ 179574462Salfred product(bool, CMSPrecleanRefLists1, true, \ 17961558Srgrimes "Preclean ref lists during (initial) preclean phase") \ 179774462Salfred \ 17981558Srgrimes product(bool, CMSPrecleanRefLists2, false, \ 17991558Srgrimes "Preclean ref lists during abortable preclean phase") \ 18001558Srgrimes \ 18011558Srgrimes product(bool, CMSPrecleanSurvivors1, false, \ 180274462Salfred "Preclean survivors during (initial) preclean phase") \ 18031558Srgrimes \ 180474462Salfred product(bool, CMSPrecleanSurvivors2, true, \ 18051558Srgrimes "Preclean survivors during abortable preclean phase") \ 180674462Salfred \ 18071558Srgrimes product(uintx, CMSPrecleanThreshold, 1000, \ 18081558Srgrimes "Don't re-iterate if #dirty cards less than this") \ 18091558Srgrimes \ 18101558Srgrimes product(bool, CMSCleanOnEnter, true, \ 18111558Srgrimes "Clean-on-enter optimization for reducing number of dirty cards") \ 18121558Srgrimes \ 18131558Srgrimes product(uintx, CMSRemarkVerifyVariant, 1, \ 18141558Srgrimes "Choose variant (1,2) of verification following remark") \ 18151558Srgrimes \ 18161558Srgrimes product(uintx, CMSScheduleRemarkEdenSizeThreshold, 2*M, \ 18179336Sdfr "If Eden used is below this value, don't try to schedule remark") \ 18181558Srgrimes \ 181974462Salfred product(uintx, CMSScheduleRemarkEdenPenetration, 50, \ 18201558Srgrimes "The Eden occupancy % at which to try and schedule remark pause") \ 18219336Sdfr \ 18221558Srgrimes product(uintx, CMSScheduleRemarkSamplingRatio, 5, \ 18231558Srgrimes "Start sampling Eden top at least before yg occupancy reaches" \ 18241558Srgrimes " 1/<ratio> of the size at which we plan to schedule remark") \ 182574462Salfred \ 18261558Srgrimes product(uintx, CMSSamplingGrain, 16*K, \ 18271558Srgrimes "The minimum distance between eden samples for CMS (see above)") \ 18281558Srgrimes \ 18299336Sdfr product(bool, CMSScavengeBeforeRemark, false, \ 18301558Srgrimes "Attempt scavenge before the CMS remark step") \ 18311558Srgrimes \ 18321558Srgrimes develop(bool, CMSTraceSweeper, false, \ 18331558Srgrimes "Trace some actions of the CMS sweeper") \ 18341558Srgrimes \ 183574462Salfred product(uintx, CMSWorkQueueDrainThreshold, 10, \ 183674462Salfred "Don't drain below this size per parallel worker/thief") \ 183775801Siedowse \ 183874462Salfred manageable(intx, CMSWaitDuration, 2000, \ 183974462Salfred "Time in milliseconds that CMS thread waits for young GC") \ 184074462Salfred \ 184174462Salfred product(bool, CMSYield, true, \ 18429336Sdfr "Yield between steps of concurrent mark & sweep") \ 184375801Siedowse \ 18441558Srgrimes product(uintx, CMSBitMapYieldQuantum, 10*M, \ 184575801Siedowse "Bitmap operations should process at most this many bits" \ 184675801Siedowse "between yields") \ 184775801Siedowse \ 184875801Siedowse product(bool, CMSDumpAtPromotionFailure, false, \ 184974462Salfred "Dump useful information about the state of the CMS old " \ 185074462Salfred " generation upon a promotion failure.") \ 185174462Salfred \ 185275801Siedowse product(bool, CMSPrintChunksInDump, false, \ 185375801Siedowse "In a dump enabled by CMSDumpAtPromotionFailure, include " \ 18541558Srgrimes " more detailed information about the free chunks.") \ 18551558Srgrimes \ 18561558Srgrimes product(bool, CMSPrintObjectsInDump, false, \ 18571558Srgrimes "In a dump enabled by CMSDumpAtPromotionFailure, include " \ 18581558Srgrimes " more detailed information about the allocated objects.") \ 18591558Srgrimes \ 18601558Srgrimes diagnostic(bool, FLSVerifyAllHeapReferences, false, \ 18611558Srgrimes "Verify that all refs across the FLS boundary " \ 18621558Srgrimes " are to valid objects") \ 18631558Srgrimes \ 18641558Srgrimes diagnostic(bool, FLSVerifyLists, false, \ 18651558Srgrimes "Do lots of (expensive) FreeListSpace verification") \ 186674462Salfred \ 18671558Srgrimes diagnostic(bool, FLSVerifyIndexTable, false, \ 18689336Sdfr "Do lots of (expensive) FLS index table verification") \ 18691558Srgrimes \ 18701558Srgrimes develop(bool, FLSVerifyDictionary, false, \ 18711558Srgrimes "Do lots of (expensive) FLS dictionary verification") \ 18721558Srgrimes \ 18739336Sdfr develop(bool, VerifyBlockOffsetArray, false, \ 18741558Srgrimes "Do (expensive!) block offset array verification") \ 18751558Srgrimes \ 18761558Srgrimes diagnostic(bool, BlockOffsetArrayUseUnallocatedBlock, false, \ 18771558Srgrimes "Maintain _unallocated_block in BlockOffsetArray" \ 18781558Srgrimes " (currently applicable only to CMS collector)") \ 18791558Srgrimes \ 18801558Srgrimes develop(bool, TraceCMSState, false, \ 18811558Srgrimes "Trace the state of the CMS collection") \ 18821558Srgrimes \ 18831558Srgrimes product(intx, RefDiscoveryPolicy, 0, \ 18841558Srgrimes "Whether reference-based(0) or referent-based(1)") \ 18851558Srgrimes \ 18861558Srgrimes product(bool, ParallelRefProcEnabled, false, \ 18871558Srgrimes "Enable parallel reference processing whenever possible") \ 18881558Srgrimes \ 18891558Srgrimes product(bool, ParallelRefProcBalancingEnabled, true, \ 18901558Srgrimes "Enable balancing of reference processing queues") \ 18911558Srgrimes \ 18921558Srgrimes product(intx, CMSTriggerRatio, 80, \ 18931558Srgrimes "Percentage of MinHeapFreeRatio in CMS generation that is " \ 18941558Srgrimes "allocated before a CMS collection cycle commences") \ 18951558Srgrimes \ 18961558Srgrimes product(intx, CMSTriggerPermRatio, 80, \ 18971558Srgrimes "Percentage of MinHeapFreeRatio in the CMS perm generation that " \ 1898184588Sdfr "is allocated before a CMS collection cycle commences, that " \ 1899184588Sdfr "also collects the perm generation") \ 1900184588Sdfr \ 1901184588Sdfr product(uintx, CMSBootstrapOccupancy, 50, \ 1902184588Sdfr "Percentage CMS generation occupancy at which to " \ 1903184588Sdfr "initiate CMS collection for bootstrapping collection stats") \ 1904184588Sdfr \ 1905184588Sdfr product(intx, CMSInitiatingOccupancyFraction, -1, \ 1906184588Sdfr "Percentage CMS generation occupancy to start a CMS collection " \ 1907184588Sdfr "cycle. A negative value means that CMSTriggerRatio is used") \ 1908184588Sdfr \ 1909184588Sdfr product(uintx, InitiatingHeapOccupancyPercent, 45, \ 1910184588Sdfr "Percentage of the (entire) heap occupancy to start a " \ 1911184588Sdfr "concurrent GC cycle. It us used by GCs that trigger a " \ 1912184588Sdfr "concurrent GC cycle based on the occupancy of the entire heap, " \ 1913184588Sdfr "not just one of the generations (e.g., G1). A value of 0 " \ 1914184588Sdfr "denotes 'do constant GC cycles'.") \ 1915184588Sdfr \ 1916184588Sdfr product(intx, CMSInitiatingPermOccupancyFraction, -1, \ 1917184588Sdfr "Percentage CMS perm generation occupancy to start a " \ 1918184588Sdfr "CMScollection cycle. A negative value means that " \ 1919184588Sdfr "CMSTriggerPermRatio is used") \ 1920184588Sdfr \ 1921184588Sdfr product(bool, UseCMSInitiatingOccupancyOnly, false, \ 1922184588Sdfr "Only use occupancy as a crierion for starting a CMS collection") \ 1923184588Sdfr \ 1924184588Sdfr product(intx, CMSIsTooFullPercentage, 98, \ 1925184588Sdfr "An absolute ceiling above which CMS will always consider the " \ 1926184588Sdfr "perm gen ripe for collection") \ 1927184588Sdfr \ 1928184588Sdfr develop(bool, CMSTestInFreeList, false, \ 1929184588Sdfr "Check if the coalesced range is already in the " \ 1930184588Sdfr "free lists as claimed") \ 1931184588Sdfr \ 1932184588Sdfr notproduct(bool, CMSVerifyReturnedBytes, false, \ 1933184588Sdfr "Check that all the garbage collected was returned to the " \ 1934184588Sdfr "free lists.") \ 1935184588Sdfr \ 1936184588Sdfr notproduct(bool, ScavengeALot, false, \ 1937184588Sdfr "Force scavenge at every Nth exit from the runtime system " \ 1938184588Sdfr "(N=ScavengeALotInterval)") \ 1939184588Sdfr \ 1940184588Sdfr develop(bool, FullGCALot, false, \ 1941184588Sdfr "Force full gc at every Nth exit from the runtime system " \ 1942184588Sdfr "(N=FullGCALotInterval)") \ 1943184588Sdfr \ 1944184588Sdfr notproduct(bool, GCALotAtAllSafepoints, false, \ 1945184588Sdfr "Enforce ScavengeALot/GCALot at all potential safepoints") \ 1946184588Sdfr \ 1947184588Sdfr product(bool, PrintPromotionFailure, false, \ 1948184588Sdfr "Print additional diagnostic information following " \ 19491558Srgrimes " promotion failure") \ 19501558Srgrimes \ 19511558Srgrimes notproduct(bool, PromotionFailureALot, false, \ 19521558Srgrimes "Use promotion failure handling on every youngest generation " \ 19531558Srgrimes "collection") \ 19541558Srgrimes \ 19551558Srgrimes develop(uintx, PromotionFailureALotCount, 1000, \ 19561558Srgrimes "Number of promotion failures occurring at ParGCAllocBuffer" \ 19571558Srgrimes "refill attempts (ParNew) or promotion attempts " \ 19581558Srgrimes "(other young collectors) ") \ 19591558Srgrimes \ 196072650Sgreen develop(uintx, PromotionFailureALotInterval, 5, \ 19611558Srgrimes "Total collections between promotion failures alot") \ 19621558Srgrimes \ 19631558Srgrimes experimental(intx, WorkStealingSleepMillis, 1, \ 19641558Srgrimes "Sleep time when sleep is used for yields") \ 19651558Srgrimes \ 196651968Salfred experimental(uintx, WorkStealingYieldsBeforeSleep, 5000, \ 19671558Srgrimes "Number of yields before a sleep is done during workstealing") \ 19681558Srgrimes \ 19691558Srgrimes experimental(uintx, WorkStealingHardSpins, 4096, \ 19701558Srgrimes "Number of iterations in a spin loop between checks on " \ 19711558Srgrimes "time out of hard spin") \ 19721558Srgrimes \ 19731558Srgrimes experimental(uintx, WorkStealingSpinToYieldRatio, 10, \ 19741558Srgrimes "Ratio of hard spins to calls to yield") \ 197537663Scharnier \ 19761558Srgrimes product(uintx, PreserveMarkStackSize, 1024, \ 197737663Scharnier "Size for stack used in promotion failure handling") \ 19781558Srgrimes \ 19791558Srgrimes develop(uintx, ObjArrayMarkingStride, 512, \ 198037663Scharnier "Number of ObjArray elements to push onto the marking stack" \ 19811558Srgrimes "before pushing a continuation entry") \ 19821558Srgrimes \ 19831558Srgrimes notproduct(bool, ExecuteInternalVMTests, false, \ 19841558Srgrimes "Enable execution of internal VM tests.") \ 19851558Srgrimes \ 19861558Srgrimes product_pd(bool, UseTLAB, "Use thread-local object allocation") \ 19871558Srgrimes \ 19881558Srgrimes product_pd(bool, ResizeTLAB, \ 19891558Srgrimes "Dynamically resize tlab size for threads") \ 19901558Srgrimes \ 19911558Srgrimes product(bool, ZeroTLAB, false, \ 19921558Srgrimes "Zero out the newly created TLAB") \ 19931558Srgrimes \ 19941558Srgrimes product(bool, FastTLABRefill, true, \ 19951558Srgrimes "Use fast TLAB refill code") \ 19961558Srgrimes \ 19971558Srgrimes product(bool, PrintTLAB, false, \ 19981558Srgrimes "Print various TLAB related information") \ 19991558Srgrimes \ 20001558Srgrimes product(bool, TLABStats, true, \ 20011558Srgrimes "Print various TLAB related information") \ 20021558Srgrimes \ 20031558Srgrimes product(bool, UseBlockZeroing, false, \ 20041558Srgrimes "Use special cpu instructions for block zeroing") \ 20051558Srgrimes \ 20061558Srgrimes product(intx, BlockZeroingLowLimit, 2048, \ 200775801Siedowse "Minimum size in bytes when block zeroing will be used") \ 20081558Srgrimes \ 200937663Scharnier product(bool, UseBlockCopy, false, \ 20101558Srgrimes "Use special cpu instructions for block copy") \ 20111558Srgrimes \ 20121558Srgrimes product(intx, BlockCopyLowLimit, 2048, \ 20131558Srgrimes "Minimum size in bytes when block copy will be used") \ 20141558Srgrimes \ 20151558Srgrimes product(bool, PrintRevisitStats, false, \ 201674462Salfred "Print revisit (klass and MDO) stack related information") \ 201774462Salfred \ 201874462Salfred EMBEDDED_ONLY(product(bool, LowMemoryProtection, true, \ 201974462Salfred "Enable LowMemoryProtection")) \ 202074462Salfred \ 20211558Srgrimes product_pd(bool, NeverActAsServerClassMachine, \ 202237663Scharnier "Never act like a server-class machine") \ 20231558Srgrimes \ 20241558Srgrimes product(bool, AlwaysActAsServerClassMachine, false, \ 202537663Scharnier "Always act like a server-class machine") \ 20261558Srgrimes \ 20271558Srgrimes product_pd(uint64_t, MaxRAM, \ 20281558Srgrimes "Real memory size (in bytes) used to set maximum heap size") \ 20291558Srgrimes \ 20301558Srgrimes product(uintx, ErgoHeapSizeLimit, 0, \ 20311558Srgrimes "Maximum ergonomically set heap size (in bytes); zero means use " \ 20321558Srgrimes "MaxRAM / MaxRAMFraction") \ 20331558Srgrimes \ 203427447Sdfr product(uintx, MaxRAMFraction, 4, \ 203527447Sdfr "Maximum fraction (1/n) of real memory used for maximum heap " \ 203627447Sdfr "size") \ 203727447Sdfr \ 203827447Sdfr product(uintx, DefaultMaxRAMFraction, 4, \ 203927447Sdfr "Maximum fraction (1/n) of real memory used for maximum heap " \ 204027447Sdfr "size; deprecated: to be renamed to MaxRAMFraction") \ 2041100336Sjoerg \ 2042100336Sjoerg product(uintx, MinRAMFraction, 2, \ 2043184588Sdfr "Minimum fraction (1/n) of real memory used for maxmimum heap " \ 2044184588Sdfr "size on systems with small physical memory size") \ 2045184588Sdfr \ 2046184588Sdfr product(uintx, InitialRAMFraction, 64, \ 2047184588Sdfr "Fraction (1/n) of real memory used for initial heap size") \ 20481558Srgrimes \ 204937663Scharnier product(bool, UseAutoGCSelectPolicy, false, \ 20501558Srgrimes "Use automatic collection selection policy") \ 20511558Srgrimes \ 20521558Srgrimes product(uintx, AutoGCSelectPauseMillis, 5000, \ 20531558Srgrimes "Automatic GC selection pause threshhold in ms") \ 20541558Srgrimes \ 20551558Srgrimes product(bool, UseAdaptiveSizePolicy, true, \ 20561558Srgrimes "Use adaptive generation sizing policies") \ 20571558Srgrimes \ 20581558Srgrimes product(bool, UsePSAdaptiveSurvivorSizePolicy, true, \ 20591558Srgrimes "Use adaptive survivor sizing policies") \ 20601558Srgrimes \ 20611558Srgrimes product(bool, UseAdaptiveGenerationSizePolicyAtMinorCollection, true, \ 20621558Srgrimes "Use adaptive young-old sizing policies at minor collections") \ 20631558Srgrimes \ 20641558Srgrimes product(bool, UseAdaptiveGenerationSizePolicyAtMajorCollection, true, \ 20651558Srgrimes "Use adaptive young-old sizing policies at major collections") \ 20661558Srgrimes \ 20671558Srgrimes product(bool, UseAdaptiveSizePolicyWithSystemGC, false, \ 20681558Srgrimes "Use statistics from System.GC for adaptive size policy") \ 20691558Srgrimes \ 20701558Srgrimes product(bool, UseAdaptiveGCBoundary, false, \ 20711558Srgrimes "Allow young-old boundary to move") \ 20727401Swpaul \ 20731558Srgrimes develop(bool, TraceAdaptiveGCBoundary, false, \ 20741558Srgrimes "Trace young-old boundary moves") \ 20757401Swpaul \ 20761558Srgrimes develop(intx, PSAdaptiveSizePolicyResizeVirtualSpaceAlot, -1, \ 20777401Swpaul "Resize the virtual spaces of the young or old generations") \ 207875635Siedowse \ 207974462Salfred product(uintx, AdaptiveSizeThroughPutPolicy, 0, \ 208074462Salfred "Policy for changeing generation size for throughput goals") \ 20811558Srgrimes \ 208274462Salfred product(uintx, AdaptiveSizePausePolicy, 0, \ 208374462Salfred "Policy for changing generation size for pause goals") \ 20841558Srgrimes \ 20851558Srgrimes develop(bool, PSAdjustTenuredGenForMinorPause, false, \ 208674462Salfred "Adjust tenured generation to achive a minor pause goal") \ 208774462Salfred \ 208874462Salfred develop(bool, PSAdjustYoungGenForMajorPause, false, \ 208974462Salfred "Adjust young generation to achive a major pause goal") \ 209074462Salfred \ 209175635Siedowse product(uintx, AdaptiveSizePolicyInitializingSteps, 20, \ 209274462Salfred "Number of steps where heuristics is used before data is used") \ 209374462Salfred \ 209474462Salfred develop(uintx, AdaptiveSizePolicyReadyThreshold, 5, \ 209574462Salfred "Number of collections before the adaptive sizing is started") \ 209674462Salfred \ 209774462Salfred product(uintx, AdaptiveSizePolicyOutputInterval, 0, \ 2098146187Sume "Collecton interval for printing information; zero => never") \ 209974462Salfred \ 210074462Salfred product(bool, UseAdaptiveSizePolicyFootprintGoal, true, \ 210174462Salfred "Use adaptive minimum footprint as a goal") \ 210275641Siedowse \ 210374462Salfred product(uintx, AdaptiveSizePolicyWeight, 10, \ 210475635Siedowse "Weight given to exponential resizing, between 0 and 100") \ 210575635Siedowse \ 210675635Siedowse product(uintx, AdaptiveTimeWeight, 25, \ 210775635Siedowse "Weight given to time in adaptive policy, between 0 and 100") \ 210875635Siedowse \ 210975635Siedowse product(uintx, PausePadding, 1, \ 211075635Siedowse "How much buffer to keep for pause time") \ 211175635Siedowse \ 211275635Siedowse product(uintx, PromotedPadding, 3, \ 211375635Siedowse "How much buffer to keep for promotion failure") \ 211475635Siedowse \ 211575801Siedowse product(uintx, SurvivorPadding, 3, \ 211675635Siedowse "How much buffer to keep for survivor overflow") \ 211775635Siedowse \ 211875635Siedowse product(uintx, AdaptivePermSizeWeight, 20, \ 211975635Siedowse "Weight for perm gen exponential resizing, between 0 and 100") \ 212075635Siedowse \ 212175635Siedowse product(uintx, PermGenPadding, 3, \ 212275635Siedowse "How much buffer to keep for perm gen sizing") \ 212375635Siedowse \ 212475635Siedowse product(uintx, ThresholdTolerance, 10, \ 212574462Salfred "Allowed collection cost difference between generations") \ 21261558Srgrimes \ 212775635Siedowse product(uintx, AdaptiveSizePolicyCollectionCostMargin, 50, \ 21281558Srgrimes "If collection costs are within margin, reduce both by full " \ 21291558Srgrimes "delta") \ 21301558Srgrimes \ 21311558Srgrimes product(uintx, YoungGenerationSizeIncrement, 20, \ 21321558Srgrimes "Adaptive size percentage change in young generation") \ 21331558Srgrimes \ 21341558Srgrimes product(uintx, YoungGenerationSizeSupplement, 80, \ 21351558Srgrimes "Supplement to YoungedGenerationSizeIncrement used at startup") \ 21361558Srgrimes \ 21371558Srgrimes product(uintx, YoungGenerationSizeSupplementDecay, 8, \ 21381558Srgrimes "Decay factor to YoungedGenerationSizeSupplement") \ 21391558Srgrimes \ 21401558Srgrimes product(uintx, TenuredGenerationSizeIncrement, 20, \ 21411558Srgrimes "Adaptive size percentage change in tenured generation") \ 21421558Srgrimes \ 21431558Srgrimes product(uintx, TenuredGenerationSizeSupplement, 80, \ 21441558Srgrimes "Supplement to TenuredGenerationSizeIncrement used at startup") \ 214527447Sdfr \ 214627447Sdfr product(uintx, TenuredGenerationSizeSupplementDecay, 2, \ 21471558Srgrimes "Decay factor to TenuredGenerationSizeIncrement") \ 21481558Srgrimes \ 21491558Srgrimes product(uintx, MaxGCPauseMillis, max_uintx, \ 21501558Srgrimes "Adaptive size policy maximum GC pause time goal in msec, " \ 21511558Srgrimes "or (G1 Only) the max. GC time per MMU time slice") \ 21521558Srgrimes \ 21531558Srgrimes product(uintx, GCPauseIntervalMillis, 0, \ 21541558Srgrimes "Time slice for MMU specification") \ 21551558Srgrimes \ 21561558Srgrimes product(uintx, MaxGCMinorPauseMillis, max_uintx, \ 21571558Srgrimes "Adaptive size policy maximum GC minor pause time goal in msec") \ 21581558Srgrimes \ 21591558Srgrimes product(uintx, GCTimeRatio, 99, \ 21601558Srgrimes "Adaptive size policy application time to GC time ratio") \ 21611558Srgrimes \ 21621558Srgrimes product(uintx, AdaptiveSizeDecrementScaleFactor, 4, \ 21631558Srgrimes "Adaptive size scale down factor for shrinking") \ 21641558Srgrimes \ 21651558Srgrimes product(bool, UseAdaptiveSizeDecayMajorGCCost, true, \ 21661558Srgrimes "Adaptive size decays the major cost for long major intervals") \ 21671558Srgrimes \ 21681558Srgrimes product(uintx, AdaptiveSizeMajorGCDecayTimeScale, 10, \ 21691558Srgrimes "Time scale over which major costs decay") \ 21701558Srgrimes \ 21711558Srgrimes product(uintx, MinSurvivorRatio, 3, \ 21721558Srgrimes "Minimum ratio of young generation/survivor space size") \ 21731558Srgrimes \ 21741558Srgrimes product(uintx, InitialSurvivorRatio, 8, \ 21751558Srgrimes "Initial ratio of eden/survivor space size") \ 21769336Sdfr \ 21771558Srgrimes product(uintx, BaseFootPrintEstimate, 256*M, \ 21781558Srgrimes "Estimate of footprint other than Java Heap") \ 21791558Srgrimes \ 21801558Srgrimes product(bool, UseGCOverheadLimit, true, \ 21811558Srgrimes "Use policy to limit of proportion of time spent in GC " \ 21821558Srgrimes "before an OutOfMemory error is thrown") \ 21831558Srgrimes \ 21841558Srgrimes product(uintx, GCTimeLimit, 98, \ 21851558Srgrimes "Limit of proportion of time spent in GC before an OutOfMemory" \ 21861558Srgrimes "error is thrown (used with GCHeapFreeLimit)") \ 218737663Scharnier \ 21881558Srgrimes product(uintx, GCHeapFreeLimit, 2, \ 21891558Srgrimes "Minimum percentage of free space after a full GC before an " \ 21901558Srgrimes "OutOfMemoryError is thrown (used with GCTimeLimit)") \ 21911558Srgrimes \ 2192158857Srodrigc develop(uintx, AdaptiveSizePolicyGCTimeLimitThreshold, 5, \ 21931558Srgrimes "Number of consecutive collections before gc time limit fires") \ 21941558Srgrimes \ 21951558Srgrimes product(bool, PrintAdaptiveSizePolicy, false, \ 2196158857Srodrigc "Print information about AdaptiveSizePolicy") \ 2197158857Srodrigc \ 21981558Srgrimes product(intx, PrefetchCopyIntervalInBytes, -1, \ 219975841Siedowse "How far ahead to prefetch destination area (<= 0 means off)") \ 220074462Salfred \ 2201192934Srmacklem product(intx, PrefetchScanIntervalInBytes, -1, \ 2202158857Srodrigc "How far ahead to prefetch scan area (<= 0 means off)") \ 2203158857Srodrigc \ 22041558Srgrimes product(intx, PrefetchFieldsAhead, -1, \ 2205158857Srodrigc "How many fields ahead to prefetch in oop scan (<= 0 means off)") \ 2206158857Srodrigc \ 2207184588Sdfr develop(bool, UsePrefetchQueue, true, \ 2208158857Srodrigc "Use the prefetch queue during PS promotion") \ 2209192934Srmacklem \ 22101558Srgrimes diagnostic(bool, VerifyBeforeExit, trueInDebug, \ 2211192934Srmacklem "Verify system before exiting") \ 2212192934Srmacklem \ 2213192934Srmacklem diagnostic(bool, VerifyBeforeGC, false, \ 2214192934Srmacklem "Verify memory system before GC") \ 2215192934Srmacklem \ 2216158857Srodrigc diagnostic(bool, VerifyAfterGC, false, \ 2217158857Srodrigc "Verify memory system after GC") \ 2218158857Srodrigc \ 2219158857Srodrigc diagnostic(bool, VerifyDuringGC, false, \ 2220158857Srodrigc "Verify memory system during GC (between phases)") \ 222175801Siedowse \ 2222192934Srmacklem diagnostic(bool, GCParallelVerificationEnabled, true, \ 2223158857Srodrigc "Enable parallel memory system verification") \ 2224192934Srmacklem \ 2225192934Srmacklem diagnostic(bool, DeferInitialCardMark, false, \ 2226192934Srmacklem "When +ReduceInitialCardMarks, explicitly defer any that " \ 222775641Siedowse "may arise from new_pre_store_barrier") \ 222874462Salfred \ 222975641Siedowse diagnostic(bool, VerifyRememberedSets, false, \ 223075641Siedowse "Verify GC remembered sets") \ 2231192934Srmacklem \ 2232192934Srmacklem diagnostic(bool, VerifyObjectStartArray, true, \ 2233192934Srmacklem "Verify GC object start array if verify before/after") \ 2234192934Srmacklem \ 2235192934Srmacklem product(bool, DisableExplicitGC, false, \ 2236192934Srmacklem "Tells whether calling System.gc() does a full GC") \ 2237184588Sdfr \ 22381558Srgrimes notproduct(bool, CheckMemoryInitialization, false, \ 2239158857Srodrigc "Checks memory initialization") \ 2240192934Srmacklem \ 2241192934Srmacklem product(bool, CollectGen0First, false, \ 2242192934Srmacklem "Collect youngest generation before each full GC") \ 2243192934Srmacklem \ 2244192934Srmacklem diagnostic(bool, BindCMSThreadToCPU, false, \ 2245192934Srmacklem "Bind CMS Thread to CPU if possible") \ 2246192934Srmacklem \ 2247192934Srmacklem diagnostic(uintx, CPUForCMSThread, 0, \ 2248192934Srmacklem "When BindCMSThreadToCPU is true, the CPU to bind CMS thread to") \ 2249158857Srodrigc \ 22501558Srgrimes product(bool, BindGCTaskThreadsToCPUs, false, \ 22511558Srgrimes "Bind GCTaskThreads to CPUs if possible") \ 22521558Srgrimes \ 225375641Siedowse product(bool, UseGCTaskAffinity, false, \ 225474462Salfred "Use worker affinity when asking for GCTasks") \ 2255192934Srmacklem \ 2256192934Srmacklem product(uintx, ProcessDistributionStride, 4, \ 2257192934Srmacklem "Stride through processors when distributing processes") \ 22581558Srgrimes \ 22591558Srgrimes product(uintx, CMSCoordinatorYieldSleepCount, 10, \ 226075801Siedowse "number of times the coordinator GC thread will sleep while " \ 226174462Salfred "yielding before giving up and resuming GC") \ 226274462Salfred \ 2263192934Srmacklem product(uintx, CMSYieldSleepCount, 0, \ 226475801Siedowse "number of times a GC thread (minus the coordinator) " \ 2265192934Srmacklem "will sleep while yielding before giving up and resuming GC") \ 2266158857Srodrigc \ 2267192934Srmacklem /* gc tracing */ \ 226875801Siedowse manageable(bool, PrintGC, false, \ 2269192934Srmacklem "Print message at garbage collect") \ 22701558Srgrimes \ 227175641Siedowse manageable(bool, PrintGCDetails, false, \ 2272192934Srmacklem "Print more details at garbage collect") \ 2273192934Srmacklem \ 2274192934Srmacklem manageable(bool, PrintGCDateStamps, false, \ 2275192934Srmacklem "Print date stamps at garbage collect") \ 227675641Siedowse \ 22777401Swpaul manageable(bool, PrintGCTimeStamps, false, \ 2278158857Srodrigc "Print timestamps at garbage collect") \ 2279158857Srodrigc \ 22807401Swpaul product(bool, PrintGCTaskTimeStamps, false, \ 22811558Srgrimes "Print timestamps for individual gc worker thread tasks") \ 228237663Scharnier \ 22831558Srgrimes develop(intx, ConcGCYieldTimeout, 0, \ 22841558Srgrimes "If non-zero, assert that GC threads yield within this # of ms.") \ 2285158857Srodrigc \ 2286158857Srodrigc notproduct(bool, TraceMarkSweep, false, \ 22871558Srgrimes "Trace mark sweep") \ 22881558Srgrimes \ 22891558Srgrimes product(bool, PrintReferenceGC, false, \ 2290192934Srmacklem "Print times spent handling reference objects during GC " \ 22911558Srgrimes " (enabled only when PrintGCDetails)") \ 2292192934Srmacklem \ 2293192934Srmacklem develop(bool, TraceReferenceGC, false, \ 2294192934Srmacklem "Trace handling of soft/weak/final/phantom references") \ 2295192934Srmacklem \ 2296192934Srmacklem develop(bool, TraceFinalizerRegistration, false, \ 2297192934Srmacklem "Trace registration of final references") \ 2298158857Srodrigc \ 2299192934Srmacklem notproduct(bool, TraceScavenge, false, \ 2300192934Srmacklem "Trace scavenge") \ 2301192934Srmacklem \ 2302192934Srmacklem product_rw(bool, TraceClassLoading, false, \ 2303192934Srmacklem "Trace all classes loaded") \ 2304192934Srmacklem \ 2305192934Srmacklem product(bool, TraceClassLoadingPreorder, false, \ 2306192934Srmacklem "Trace all classes loaded in order referenced (not loaded)") \ 2307192934Srmacklem \ 2308192934Srmacklem product_rw(bool, TraceClassUnloading, false, \ 2309192934Srmacklem "Trace unloading of classes") \ 2310192934Srmacklem \ 2311192934Srmacklem product_rw(bool, TraceLoaderConstraints, false, \ 2312192934Srmacklem "Trace loader constraints") \ 2313192934Srmacklem \ 2314192934Srmacklem product(bool, TraceGen0Time, false, \ 2315192934Srmacklem "Trace accumulated time for Gen 0 collection") \ 2316192934Srmacklem \ 2317192934Srmacklem product(bool, TraceGen1Time, false, \ 2318192934Srmacklem "Trace accumulated time for Gen 1 collection") \ 2319192934Srmacklem \ 2320192934Srmacklem product(bool, PrintTenuringDistribution, false, \ 2321192934Srmacklem "Print tenuring age information") \ 2322192934Srmacklem \ 2323192934Srmacklem product_rw(bool, PrintHeapAtGC, false, \ 2324192934Srmacklem "Print heap layout before and after each GC") \ 2325192934Srmacklem \ 2326192934Srmacklem product_rw(bool, PrintHeapAtGCExtended, false, \ 2327192934Srmacklem "Prints extended information about the layout of the heap " \ 2328192934Srmacklem "when -XX:+PrintHeapAtGC is set") \ 2329192934Srmacklem \ 233075635Siedowse product(bool, PrintHeapAtSIGBREAK, true, \ 2331192934Srmacklem "Print heap layout in response to SIGBREAK") \ 2332192934Srmacklem \ 2333192934Srmacklem manageable(bool, PrintClassHistogramBeforeFullGC, false, \ 2334192934Srmacklem "Print a class histogram before any major stop-world GC") \ 2335192934Srmacklem \ 2336192934Srmacklem manageable(bool, PrintClassHistogramAfterFullGC, false, \ 2337100336Sjoerg "Print a class histogram after any major stop-world GC") \ 2338192934Srmacklem \ 2339192934Srmacklem manageable(bool, PrintClassHistogram, false, \ 2340192934Srmacklem "Print a histogram of class instances") \ 2341192934Srmacklem \ 2342192934Srmacklem develop(bool, TraceWorkGang, false, \ 2343192934Srmacklem "Trace activities of work gangs") \ 2344192934Srmacklem \ 2345192934Srmacklem product(bool, TraceParallelOldGCTasks, false, \ 2346192934Srmacklem "Trace multithreaded GC activity") \ 2347192934Srmacklem \ 2348192934Srmacklem develop(bool, TraceBlockOffsetTable, false, \ 2349192934Srmacklem "Print BlockOffsetTable maps") \ 2350192934Srmacklem \ 2351192934Srmacklem develop(bool, TraceCardTableModRefBS, false, \ 2352192934Srmacklem "Print CardTableModRefBS maps") \ 2353192934Srmacklem \ 2354192934Srmacklem develop(bool, TraceGCTaskManager, false, \ 2355192934Srmacklem "Trace actions of the GC task manager") \ 2356192934Srmacklem \ 2357192934Srmacklem develop(bool, TraceGCTaskQueue, false, \ 2358192934Srmacklem "Trace actions of the GC task queues") \ 2359192934Srmacklem \ 2360192934Srmacklem develop(bool, TraceGCTaskThread, false, \ 2361192934Srmacklem "Trace actions of the GC task threads") \ 2362192934Srmacklem \ 2363192934Srmacklem product(bool, PrintParallelOldGCPhaseTimes, false, \ 2364192934Srmacklem "Print the time taken by each parallel old gc phase." \ 2365192934Srmacklem "PrintGCDetails must also be enabled.") \ 2366192934Srmacklem \ 2367192934Srmacklem develop(bool, TraceParallelOldGCMarkingPhase, false, \ 2368192934Srmacklem "Trace parallel old gc marking phase") \ 2369100336Sjoerg \ 2370192934Srmacklem develop(bool, TraceParallelOldGCSummaryPhase, false, \ 2371192934Srmacklem "Trace parallel old gc summary phase") \ 2372192934Srmacklem \ 2373192934Srmacklem develop(bool, TraceParallelOldGCCompactionPhase, false, \ 2374192934Srmacklem "Trace parallel old gc compaction phase") \ 23751558Srgrimes \ 23761558Srgrimes develop(bool, TraceParallelOldGCDensePrefix, false, \ 2377192934Srmacklem "Trace parallel old gc dense prefix computation") \ 2378192934Srmacklem \ 2379192934Srmacklem develop(bool, IgnoreLibthreadGPFault, false, \ 2380192934Srmacklem "Suppress workaround for libthread GP fault") \ 2381192934Srmacklem \ 2382192934Srmacklem product(bool, PrintJNIGCStalls, false, \ 2383192934Srmacklem "Print diagnostic message when GC is stalled" \ 2384192934Srmacklem "by JNI critical section") \ 2385192934Srmacklem \ 2386192934Srmacklem /* GC log rotation setting */ \ 2387192934Srmacklem \ 2388192934Srmacklem product(bool, UseGCLogFileRotation, false, \ 2389192934Srmacklem "Prevent large gclog file for long running app. " \ 2390192934Srmacklem "Requires -Xloggc:<filename>") \ 2391192934Srmacklem \ 2392192934Srmacklem product(uintx, NumberOfGCLogFiles, 0, \ 2393192934Srmacklem "Number of gclog files in rotation, " \ 2394192934Srmacklem "Default: 0, no rotation") \ 2395192934Srmacklem \ 2396192934Srmacklem product(uintx, GCLogFileSize, 0, \ 2397192934Srmacklem "GC log file size, Default: 0 bytes, no rotation " \ 2398192934Srmacklem "Only valid with UseGCLogFileRotation") \ 2399192934Srmacklem \ 240074462Salfred /* JVMTI heap profiling */ \ 240175641Siedowse \ 240274462Salfred diagnostic(bool, TraceJVMTIObjectTagging, false, \ 240375641Siedowse "Trace JVMTI object tagging calls") \ 24041558Srgrimes \ 24051558Srgrimes diagnostic(bool, VerifyBeforeIteration, false, \ 24061558Srgrimes "Verify memory system before JVMTI iteration") \ 24071558Srgrimes \ 2408158857Srodrigc /* compiler interface */ \ 2409158857Srodrigc \ 2410158857Srodrigc develop(bool, CIPrintCompilerName, false, \ 2411158857Srodrigc "when CIPrint is active, print the name of the active compiler") \ 2412158857Srodrigc \ 2413158857Srodrigc develop(bool, CIPrintCompileQueue, false, \ 2414158857Srodrigc "display the contents of the compile queue whenever a " \ 2415158857Srodrigc "compilation is enqueued") \ 2416158857Srodrigc \ 2417158857Srodrigc develop(bool, CIPrintRequests, false, \ 2418158857Srodrigc "display every request for compilation") \ 2419158857Srodrigc \ 2420158857Srodrigc product(bool, CITime, false, \ 2421158857Srodrigc "collect timing information for compilation") \ 24221558Srgrimes \ 24231558Srgrimes develop(bool, CITimeEach, false, \ 24241558Srgrimes "display timing information after each successful compilation") \ 24251558Srgrimes \ 242675801Siedowse develop(bool, CICountOSR, true, \ 242775801Siedowse "use a separate counter when assigning ids to osr compilations") \ 24281558Srgrimes \ 24291558Srgrimes develop(bool, CICompileNatives, true, \ 24301558Srgrimes "compile native methods if supported by the compiler") \ 24311558Srgrimes \ 24321558Srgrimes develop_pd(bool, CICompileOSR, \ 24331558Srgrimes "compile on stack replacement methods if supported by the " \ 24341558Srgrimes "compiler") \ 243575861Siedowse \ 243674462Salfred develop(bool, CIPrintMethodCodes, false, \ 243775801Siedowse "print method bytecodes of the compiled code") \ 243875861Siedowse \ 243974462Salfred develop(bool, CIPrintTypeFlow, false, \ 244074462Salfred "print the results of ciTypeFlow analysis") \ 244174462Salfred \ 24421558Srgrimes develop(bool, CITraceTypeFlow, false, \ 244375635Siedowse "detailed per-bytecode tracing of ciTypeFlow analysis") \ 244474462Salfred \ 244574462Salfred develop(intx, CICloneLoopTestLimit, 100, \ 244674462Salfred "size limit for blocks heuristically cloned in ciTypeFlow") \ 244774462Salfred \ 244874462Salfred develop(intx, OSROnlyBCI, -1, \ 244974462Salfred "OSR only at this bci. Negative values mean exclude that bci") \ 245075861Siedowse \ 245175861Siedowse /* temp diagnostics */ \ 245275861Siedowse \ 245375861Siedowse diagnostic(bool, TraceRedundantCompiles, false, \ 245475861Siedowse "Have compile broker print when a request already in the queue is"\ 245574462Salfred " requested again") \ 245675801Siedowse \ 245775801Siedowse diagnostic(bool, InitialCompileFast, false, \ 245875801Siedowse "Initial compile at CompLevel_fast_compile") \ 245975801Siedowse \ 246075801Siedowse diagnostic(bool, InitialCompileReallyFast, false, \ 246175801Siedowse "Initial compile at CompLevel_really_fast_compile (no profile)") \ 246275801Siedowse \ 246374462Salfred diagnostic(bool, FullProfileOnReInterpret, true, \ 246475861Siedowse "On re-interpret unc-trap compile next at CompLevel_fast_compile")\ 246575861Siedowse \ 246675861Siedowse /* compiler */ \ 246774462Salfred \ 246875801Siedowse product(intx, CICompilerCount, CI_COMPILER_COUNT, \ 246975801Siedowse "Number of compiler threads to run") \ 247075801Siedowse \ 247174462Salfred product(intx, CompilationPolicyChoice, 0, \ 247275801Siedowse "which compilation policy (0/1)") \ 247374462Salfred \ 247474462Salfred develop(bool, UseStackBanging, true, \ 247575801Siedowse "use stack banging for stack overflow checks (required for " \ 247674462Salfred "proper StackOverflow handling; disable only to measure cost " \ 247775801Siedowse "of stackbanging)") \ 247875801Siedowse \ 247974462Salfred develop(bool, Use24BitFPMode, true, \ 248075861Siedowse "Set 24-bit FPU mode on a per-compile basis ") \ 248175861Siedowse \ 248275861Siedowse develop(bool, Use24BitFP, true, \ 248375861Siedowse "use FP instructions that produce 24-bit precise results") \ 248475861Siedowse \ 248575861Siedowse develop(bool, UseStrictFP, true, \ 248675861Siedowse "use strict fp if modifier strictfp is set") \ 248775861Siedowse \ 248875861Siedowse develop(bool, GenerateSynchronizationCode, true, \ 248975861Siedowse "generate locking/unlocking code for synchronized methods and " \ 249074462Salfred "monitors") \ 249125318Spst \ 249275801Siedowse develop(bool, GenerateCompilerNullChecks, true, \ 249375801Siedowse "Generate explicit null checks for loads/stores/calls") \ 249475801Siedowse \ 249575801Siedowse develop(bool, GenerateRangeChecks, true, \ 249675801Siedowse "Generate range checks for array accesses") \ 249775801Siedowse \ 249875801Siedowse develop_pd(bool, ImplicitNullChecks, \ 249975801Siedowse "generate code for implicit null checks") \ 250075801Siedowse \ 250174462Salfred product(bool, PrintSafepointStatistics, false, \ 250275801Siedowse "print statistics about safepoint synchronization") \ 250375801Siedowse \ 250475801Siedowse product(intx, PrintSafepointStatisticsCount, 300, \ 250575801Siedowse "total number of safepoint statistics collected " \ 2506146187Sume "before printing them out") \ 250775801Siedowse \ 250875801Siedowse product(intx, PrintSafepointStatisticsTimeout, -1, \ 250975801Siedowse "print safepoint statistics only when safepoint takes" \ 251075801Siedowse " more than PrintSafepointSatisticsTimeout in millis") \ 251175801Siedowse \ 251275801Siedowse product(bool, TraceSafepointCleanupTime, false, \ 251375801Siedowse "print the break down of clean up tasks performed during" \ 251475801Siedowse " safepoint") \ 251575801Siedowse \ 251675801Siedowse develop(bool, InlineAccessors, true, \ 251775801Siedowse "inline accessor methods (get/set)") \ 251874462Salfred \ 251974462Salfred product(bool, Inline, true, \ 252075801Siedowse "enable inlining") \ 252174462Salfred \ 252275801Siedowse product(bool, ClipInlining, true, \ 252375801Siedowse "clip inlining if aggregate method exceeds DesiredMethodLimit") \ 252475801Siedowse \ 252575801Siedowse develop(bool, UseCHA, true, \ 252674462Salfred "enable CHA") \ 252775801Siedowse \ 252875801Siedowse product(bool, UseTypeProfile, true, \ 252975801Siedowse "Check interpreter profile for historically monomorphic calls") \ 253074462Salfred \ 253175801Siedowse product(intx, TypeProfileMajorReceiverPercent, 90, \ 253275801Siedowse "% of major receiver type to all profiled receivers") \ 253375801Siedowse \ 253475801Siedowse notproduct(bool, TimeCompiler, false, \ 253575801Siedowse "time the compiler") \ 253675801Siedowse \ 253775801Siedowse notproduct(bool, TimeCompiler2, false, \ 253875801Siedowse "detailed time the compiler (requires +TimeCompiler)") \ 253975801Siedowse \ 254075801Siedowse diagnostic(bool, PrintInlining, false, \ 254175801Siedowse "prints inlining optimizations") \ 254275801Siedowse \ 254375801Siedowse diagnostic(bool, PrintIntrinsics, false, \ 254475801Siedowse "prints attempted and successful inlining of intrinsics") \ 254575801Siedowse \ 254674462Salfred product(bool, UseCountLeadingZerosInstruction, false, \ 254774462Salfred "Use count leading zeros instruction") \ 254874462Salfred \ 254974462Salfred product(bool, UsePopCountInstruction, false, \ 255074462Salfred "Use population count instruction") \ 255174462Salfred \ 255274462Salfred diagnostic(ccstrlist, DisableIntrinsic, "", \ 255374462Salfred "do not expand intrinsics whose (internal) names appear here") \ 255474462Salfred \ 255574462Salfred develop(bool, StressReflectiveCode, false, \ 255674462Salfred "Use inexact types at allocations, etc., to test reflection") \ 25571558Srgrimes \ 25581558Srgrimes develop(bool, EagerInitialization, false, \ 25591558Srgrimes "Eagerly initialize classes if possible") \ 25601558Srgrimes \ 25611558Srgrimes develop(bool, TraceMethodReplacement, false, \ 25621558Srgrimes "Print when methods are replaced do to recompilation") \ 25631558Srgrimes \ 25641558Srgrimes develop(bool, PrintMethodFlushing, false, \ 25651558Srgrimes "print the nmethods being flushed") \ 25661558Srgrimes \ 25671558Srgrimes notproduct(bool, LogMultipleMutexLocking, false, \ 25681558Srgrimes "log locking and unlocking of mutexes (only if multiple locks " \ 25691558Srgrimes "are held)") \ 25701558Srgrimes \ 25711558Srgrimes develop(bool, UseRelocIndex, false, \ 25721558Srgrimes "use an index to speed random access to relocations") \ 25731558Srgrimes \ 25741558Srgrimes develop(bool, StressCodeBuffers, false, \ 25751558Srgrimes "Exercise code buffer expansion and other rare state changes") \ 25761558Srgrimes \ 25771558Srgrimes diagnostic(bool, DebugNonSafepoints, trueInDebug, \ 25781558Srgrimes "Generate extra debugging info for non-safepoints in nmethods") \ 25791558Srgrimes \ 25801558Srgrimes diagnostic(bool, DebugInlinedCalls, true, \ 25811558Srgrimes "If false, restricts profiled locations to the root method only") \ 25821558Srgrimes \ 25831558Srgrimes product(bool, PrintVMOptions, false, \ 25841558Srgrimes "Print flags that appeared on the command line") \ 25851558Srgrimes \ 25861558Srgrimes product(bool, IgnoreUnrecognizedVMOptions, false, \ 25871558Srgrimes "Ignore unrecognized VM options") \ 25881558Srgrimes \ 25891558Srgrimes product(bool, PrintCommandLineFlags, false, \ 259096622Siedowse "Print flags specified on command line or set by ergonomics") \ 25911558Srgrimes \ 25921558Srgrimes product(bool, PrintFlagsInitial, false, \ 25931558Srgrimes "Print all VM flags before argument processing and exit VM") \ 25941558Srgrimes \ 25951558Srgrimes product(bool, PrintFlagsFinal, false, \ 25961558Srgrimes "Print all VM flags after argument and ergonomic processing") \ 25971558Srgrimes \ 25981558Srgrimes notproduct(bool, PrintFlagsWithComments, false, \ 259996622Siedowse "Print all VM flags with default values and descriptions and exit")\ 26001558Srgrimes \ 26011558Srgrimes diagnostic(bool, SerializeVMOutput, true, \ 26021558Srgrimes "Use a mutex to serialize output to tty and hotspot.log") \ 26031558Srgrimes \ 26041558Srgrimes diagnostic(bool, DisplayVMOutput, true, \ 26051558Srgrimes "Display all VM output on the tty, independently of LogVMOutput") \ 26061558Srgrimes \ 26071558Srgrimes diagnostic(bool, LogVMOutput, trueInDebug, \ 26081558Srgrimes "Save VM output to hotspot.log, or to LogFile") \ 26091558Srgrimes \ 261079117Sdd diagnostic(ccstr, LogFile, NULL, \ 261179117Sdd "If LogVMOutput is on, save VM output to this file [hotspot.log]") \ 261279117Sdd \ 261379117Sdd product(ccstr, ErrorFile, NULL, \ 261496622Siedowse "If an error occurs, save the error data to this file " \ 261596622Siedowse "[default: ./hs_err_pid%p.log] (%p replaced with pid)") \ 261696622Siedowse \ 261796622Siedowse product(bool, DisplayVMOutputToStderr, false, \ 261896622Siedowse "If DisplayVMOutput is true, display all VM output to stderr") \ 26191558Srgrimes \ 262096622Siedowse product(bool, DisplayVMOutputToStdout, false, \ 262196622Siedowse "If DisplayVMOutput is true, display all VM output to stdout") \ 262296622Siedowse \ 26231558Srgrimes product(bool, UseHeavyMonitors, false, \ 26241558Srgrimes "use heavyweight instead of lightweight Java monitors") \ 26251558Srgrimes \ 26261558Srgrimes notproduct(bool, PrintSymbolTableSizeHistogram, false, \ 26271558Srgrimes "print histogram of the symbol table") \ 26281558Srgrimes \ 26291558Srgrimes notproduct(bool, ExitVMOnVerifyError, false, \ 26301558Srgrimes "standard exit from VM if bytecode verify error " \ 26311558Srgrimes "(only in debug mode)") \ 26321558Srgrimes \ 263372650Sgreen notproduct(ccstr, AbortVMOnException, NULL, \ 26341558Srgrimes "Call fatal if this exception is thrown. Example: " \ 26351558Srgrimes "java -XX:AbortVMOnException=java.lang.NullPointerException Foo") \ 26361558Srgrimes \ 26371558Srgrimes notproduct(ccstr, AbortVMOnExceptionMessage, NULL, \ 26381558Srgrimes "Call fatal if the exception pointed by AbortVMOnException " \ 26391558Srgrimes "has this message.") \ 2640136051Sstefanf \ 2641136051Sstefanf develop(bool, DebugVtables, false, \ 26421558Srgrimes "add debugging code to vtable dispatch") \ 264391354Sdd \ 26441558Srgrimes develop(bool, PrintVtables, false, \ 264537663Scharnier "print vtables when printing klass") \ 26461558Srgrimes \ 26471558Srgrimes notproduct(bool, PrintVtableStats, false, \ 26481558Srgrimes "print vtables stats at end of run") \ 26491558Srgrimes \ 26501558Srgrimes develop(bool, TraceCreateZombies, false, \ 26511558Srgrimes "trace creation of zombie nmethods") \ 26521558Srgrimes \ 26531558Srgrimes notproduct(bool, IgnoreLockingAssertions, false, \ 26541558Srgrimes "disable locking assertions (for speed)") \ 26551558Srgrimes \ 26561558Srgrimes notproduct(bool, VerifyLoopOptimizations, false, \ 26571558Srgrimes "verify major loop optimizations") \ 26581558Srgrimes \ 26591558Srgrimes product(bool, RangeCheckElimination, true, \ 26601558Srgrimes "Split loop iterations to eliminate range checks") \ 26611558Srgrimes \ 26621558Srgrimes develop_pd(bool, UncommonNullCast, \ 26631558Srgrimes "track occurrences of null in casts; adjust compiler tactics") \ 266437663Scharnier \ 26651558Srgrimes develop(bool, TypeProfileCasts, true, \ 26661558Srgrimes "treat casts like calls for purposes of type profiling") \ 26671558Srgrimes \ 26681558Srgrimes develop(bool, MonomorphicArrayCheck, true, \ 26691558Srgrimes "Uncommon-trap array store checks that require full type check") \ 267037663Scharnier \ 26711558Srgrimes diagnostic(bool, ProfileDynamicTypes, true, \ 2672136051Sstefanf "do extra type profiling and use it more aggressively") \ 26731558Srgrimes \ 26741558Srgrimes develop(bool, DelayCompilationDuringStartup, true, \ 26751558Srgrimes "Delay invoking the compiler until main application class is " \ 26761558Srgrimes "loaded") \ 26771558Srgrimes \ 26781558Srgrimes develop(bool, CompileTheWorld, false, \ 26791558Srgrimes "Compile all methods in all classes in bootstrap class path " \ 26801558Srgrimes "(stress test)") \ 26811558Srgrimes \ 26821558Srgrimes develop(bool, CompileTheWorldPreloadClasses, true, \ 26831558Srgrimes "Preload all classes used by a class before start loading") \ 26841558Srgrimes \ 26851558Srgrimes notproduct(intx, CompileTheWorldSafepointInterval, 100, \ 26861558Srgrimes "Force a safepoint every n compiles so sweeper can keep up") \ 26871558Srgrimes \ 26881558Srgrimes develop(bool, TraceIterativeGVN, false, \ 268937663Scharnier "Print progress during Iterative Global Value Numbering") \ 26901558Srgrimes \ 26911558Srgrimes develop(bool, FillDelaySlots, true, \ 26921558Srgrimes "Fill delay slots (on SPARC only)") \ 26931558Srgrimes \ 26941558Srgrimes develop(bool, VerifyIterativeGVN, false, \ 26951558Srgrimes "Verify Def-Use modifications during sparse Iterative Global " \ 26961558Srgrimes "Value Numbering") \ 26971558Srgrimes \ 26981558Srgrimes notproduct(bool, TracePhaseCCP, false, \ 269937663Scharnier "Print progress during Conditional Constant Propagation") \ 27001558Srgrimes \ 27011558Srgrimes develop(bool, TimeLivenessAnalysis, false, \ 27021558Srgrimes "Time computation of bytecode liveness analysis") \ 27031558Srgrimes \ 27041558Srgrimes develop(bool, TraceLivenessGen, false, \ 27051558Srgrimes "Trace the generation of liveness analysis information") \ 270637663Scharnier \ 27071558Srgrimes notproduct(bool, TraceLivenessQuery, false, \ 27081558Srgrimes "Trace queries of liveness analysis information") \ 27091558Srgrimes \ 27101558Srgrimes notproduct(bool, CollectIndexSetStatistics, false, \ 27111558Srgrimes "Collect information about IndexSets") \ 27121558Srgrimes \ 27131558Srgrimes develop(bool, PrintDominators, false, \ 27141558Srgrimes "Print out dominator trees for GVN") \ 27151558Srgrimes \ 27161558Srgrimes develop(bool, UseLoopSafepoints, true, \ 271723681Speter "Generate Safepoint nodes in every loop") \ 27181558Srgrimes \ 27191558Srgrimes notproduct(bool, TraceCISCSpill, false, \ 27201558Srgrimes "Trace allocators use of cisc spillable instructions") \ 27211558Srgrimes \ 272253117Sbillf notproduct(bool, TraceSpilling, false, \ 272353117Sbillf "Trace spilling") \ 272453117Sbillf \ 272553117Sbillf product(bool, SplitIfBlocks, true, \ 272653117Sbillf "Clone compares and control flow through merge points to fold " \ 272753117Sbillf "some branches") \ 27281558Srgrimes \ 27291558Srgrimes develop(intx, FastAllocateSizeLimit, 128*K, \ 27301558Srgrimes /* Note: This value is zero mod 1<<13 for a cheap sparc set. */ \ 273123681Speter "Inline allocations larger than this in doublewords must go slow")\ 273223681Speter \ 273323681Speter product(bool, AggressiveOpts, false, \ 273423681Speter "Enable aggressive optimizations - see arguments.cpp") \ 27351558Srgrimes \ 27361558Srgrimes product(bool, UseStringCache, false, \ 273737663Scharnier "Enable String cache capabilities on String.java") \ 273837663Scharnier \ 273923681Speter /* statistics */ \ 274023681Speter develop(bool, CountCompiledCalls, false, \ 274123681Speter "counts method invocations") \ 274223681Speter \ 27431558Srgrimes notproduct(bool, CountRuntimeCalls, false, \ 27441558Srgrimes "counts VM runtime calls") \ 27451558Srgrimes \ 27461558Srgrimes develop(bool, CountJNICalls, false, \ 27471558Srgrimes "counts jni method invocations") \ 27481558Srgrimes \ 27491558Srgrimes notproduct(bool, CountJVMCalls, false, \ 275075635Siedowse "counts jvm method invocations") \ 275175635Siedowse \ 27521558Srgrimes notproduct(bool, CountRemovableExceptions, false, \ 27531558Srgrimes "count exceptions that could be replaced by branches due to " \ 27541558Srgrimes "inlining") \ 27551558Srgrimes \ 27561558Srgrimes notproduct(bool, ICMissHistogram, false, \ 27571558Srgrimes "produce histogram of IC misses") \ 27581558Srgrimes \ 27591558Srgrimes notproduct(bool, PrintClassStatistics, false, \ 27601558Srgrimes "prints class statistics at end of run") \ 27611558Srgrimes \ 27621558Srgrimes notproduct(bool, PrintMethodStatistics, false, \ 27631558Srgrimes "prints method statistics at end of run") \ 27641558Srgrimes \ 27651558Srgrimes /* interpreter */ \ 27661558Srgrimes develop(bool, ClearInterpreterLocals, false, \ 27671558Srgrimes "Always clear local variables of interpreter activations upon " \ 27681558Srgrimes "entry") \ 27691558Srgrimes \ 27701558Srgrimes product_pd(bool, RewriteBytecodes, \ 27711558Srgrimes "Allow rewriting of bytecodes (bytecodes are not immutable)") \ 27721558Srgrimes \ 27731558Srgrimes product_pd(bool, RewriteFrequentPairs, \ 277437663Scharnier "Rewrite frequently used bytecode pairs into a single bytecode") \ 27751558Srgrimes \ 27761558Srgrimes diagnostic(bool, PrintInterpreter, false, \ 27771558Srgrimes "Prints the generated interpreter code") \ 27781558Srgrimes \ 27791558Srgrimes product(bool, UseInterpreter, true, \ 27801558Srgrimes "Use interpreter for non-compiled methods") \ 27811558Srgrimes \ 27821558Srgrimes develop(bool, UseFastSignatureHandlers, true, \ 27831558Srgrimes "Use fast signature handlers for native calls") \ 27841558Srgrimes \ 27851558Srgrimes develop(bool, UseV8InstrsOnly, false, \ 27861558Srgrimes "Use SPARC-V8 Compliant instruction subset") \ 27871558Srgrimes \ 27881558Srgrimes product(bool, UseNiagaraInstrs, false, \ 27891558Srgrimes "Use Niagara-efficient instruction subset") \ 27901558Srgrimes \ 27911558Srgrimes develop(bool, UseCASForSwap, false, \ 27921558Srgrimes "Do not use swap instructions, but only CAS (in a loop) on SPARC")\ 27931558Srgrimes \ 27941558Srgrimes product(bool, UseLoopCounter, true, \ 27951558Srgrimes "Increment invocation counter on backward branch") \ 27961558Srgrimes \ 27971558Srgrimes product(bool, UseFastEmptyMethods, true, \ 27981558Srgrimes "Use fast method entry code for empty methods") \ 27991558Srgrimes \ 28001558Srgrimes product(bool, UseFastAccessorMethods, true, \ 28011558Srgrimes "Use fast method entry code for accessor methods") \ 280237663Scharnier \ 280337663Scharnier product_pd(bool, UseOnStackReplacement, \ 28041558Srgrimes "Use on stack replacement, calls runtime if invoc. counter " \ 28051558Srgrimes "overflows in loop") \ 28061558Srgrimes \ 28071558Srgrimes notproduct(bool, TraceOnStackReplacement, false, \ 28081558Srgrimes "Trace on stack replacement") \ 28091558Srgrimes \ 28101558Srgrimes develop(bool, PoisonOSREntry, true, \ 281137663Scharnier "Detect abnormal calls to OSR code") \ 28121558Srgrimes \ 28131558Srgrimes product_pd(bool, PreferInterpreterNativeStubs, \ 28141558Srgrimes "Use always interpreter stubs for native methods invoked via " \ 28151558Srgrimes "interpreter") \ 28161558Srgrimes \ 28171558Srgrimes develop(bool, CountBytecodes, false, \ 28181558Srgrimes "Count number of bytecodes executed") \ 28191558Srgrimes \ 28201558Srgrimes develop(bool, PrintBytecodeHistogram, false, \ 28211558Srgrimes "Print histogram of the executed bytecodes") \ 28221558Srgrimes \ 28231558Srgrimes develop(bool, PrintBytecodePairHistogram, false, \ 28241558Srgrimes "Print histogram of the executed bytecode pairs") \ 28251558Srgrimes \ 282674462Salfred diagnostic(bool, PrintSignatureHandlers, false, \ 282774462Salfred "Print code generated for native method signature handlers") \ 28281558Srgrimes \ 28291558Srgrimes develop(bool, VerifyOops, false, \ 28301558Srgrimes "Do plausibility checks for oops") \ 28311558Srgrimes \ 28321558Srgrimes develop(bool, CheckUnhandledOops, false, \ 28331558Srgrimes "Check for unhandled oops in VM code") \ 28341558Srgrimes \ 28351558Srgrimes develop(bool, VerifyJNIFields, trueInDebug, \ 28361558Srgrimes "Verify jfieldIDs for instance fields") \ 28371558Srgrimes \ 28381558Srgrimes notproduct(bool, VerifyJNIEnvThread, false, \ 28391558Srgrimes "Verify JNIEnv.thread == Thread::current() when entering VM " \ 28401558Srgrimes "from JNI") \ 28411558Srgrimes \ 28421558Srgrimes develop(bool, VerifyFPU, false, \ 28431558Srgrimes "Verify FPU state (check for NaN's, etc.)") \ 28441558Srgrimes \ 28451558Srgrimes develop(bool, VerifyThread, false, \ 28461558Srgrimes "Watch the thread register for corruption (SPARC only)") \ 28471558Srgrimes \ 28481558Srgrimes develop(bool, VerifyActivationFrameSize, false, \ 28491558Srgrimes "Verify that activation frame didn't become smaller than its " \ 28501558Srgrimes "minimal size") \ 28511558Srgrimes \ 28521558Srgrimes develop(bool, TraceFrequencyInlining, false, \ 28531558Srgrimes "Trace frequency based inlining") \ 28541558Srgrimes \ 2855192934Srmacklem notproduct(bool, TraceTypeProfile, false, \ 28561558Srgrimes "Trace type profile") \ 285783653Speter \ 285883653Speter develop_pd(bool, InlineIntrinsics, \ 28591558Srgrimes "Inline intrinsics that can be statically resolved") \ 28601558Srgrimes \ 28611558Srgrimes product_pd(bool, ProfileInterpreter, \ 286275801Siedowse "Profile at the bytecode level during interpretation") \ 286375801Siedowse \ 28641558Srgrimes develop_pd(bool, ProfileTraps, \ 286575801Siedowse "Profile deoptimization traps at the bytecode level") \ 286675801Siedowse \ 286775801Siedowse product(intx, ProfileMaturityPercentage, 20, \ 286875801Siedowse "number of method invocations/branches (expressed as % of " \ 286975801Siedowse "CompileThreshold) before using the method's profile") \ 287075801Siedowse \ 287175801Siedowse develop(bool, PrintMethodData, false, \ 287275801Siedowse "Print the results of +ProfileInterpreter at end of run") \ 28731558Srgrimes \ 287445927Salex develop(bool, VerifyDataPointer, trueInDebug, \ 28751558Srgrimes "Verify the method data pointer during interpreter profiling") \ 28761558Srgrimes \ 2877192934Srmacklem develop(bool, VerifyCompiledCode, false, \ 2878192934Srmacklem "Include miscellaneous runtime verifications in nmethod code; " \ 2879192934Srmacklem "default off because it disturbs nmethod size heuristics") \ 2880192934Srmacklem \ 2881192934Srmacklem notproduct(bool, CrashGCForDumpingJavaThread, false, \ 2882192934Srmacklem "Manually make GC thread crash then dump java stack trace; " \ 28831558Srgrimes "Test only") \ 28841558Srgrimes \ 28851558Srgrimes /* compilation */ \ 28861558Srgrimes product(bool, UseCompiler, true, \ 28871558Srgrimes "use compilation") \ 28881558Srgrimes \ 28891558Srgrimes develop(bool, TraceCompilationPolicy, false, \ 28901558Srgrimes "Trace compilation policy") \ 28911558Srgrimes \ 28921558Srgrimes develop(bool, TimeCompilationPolicy, false, \ 28931558Srgrimes "Time the compilation policy") \ 28941558Srgrimes \ 28951558Srgrimes product(bool, UseCounterDecay, true, \ 28961558Srgrimes "adjust recompilation counters") \ 28971558Srgrimes \ 28981558Srgrimes develop(intx, CounterHalfLifeTime, 30, \ 28991558Srgrimes "half-life time of invocation counters (in secs)") \ 29001558Srgrimes \ 29019336Sdfr develop(intx, CounterDecayMinIntervalLength, 500, \ 29021558Srgrimes "Min. ms. between invocation of CounterDecay") \ 29031558Srgrimes \ 29041558Srgrimes product(bool, AlwaysCompileLoopMethods, false, \ 29051558Srgrimes "when using recompilation, never interpret methods " \ 29061558Srgrimes "containing loops") \ 29079336Sdfr \ 29081558Srgrimes product(bool, DontCompileHugeMethods, true, \ 29091558Srgrimes "don't compile methods > HugeMethodLimit") \ 29101558Srgrimes \ 29119336Sdfr /* Bytecode escape analysis estimation. */ \ 291275801Siedowse product(bool, EstimateArgEscape, true, \ 291375801Siedowse "Analyze bytecodes to estimate escape state of arguments") \ 291475801Siedowse \ 291575801Siedowse product(intx, BCEATraceLevel, 0, \ 291675801Siedowse "How much tracing to do of bytecode escape analysis estimates") \ 291775801Siedowse \ 291874462Salfred product(intx, MaxBCEAEstimateLevel, 5, \ 291975801Siedowse "Maximum number of nested calls that are analyzed by BC EA.") \ 292075801Siedowse \ 292174462Salfred product(intx, MaxBCEAEstimateSize, 150, \ 292275801Siedowse "Maximum bytecode size of a method to be analyzed by BC EA.") \ 292375801Siedowse \ 2924103949Smike product(intx, AllocatePrefetchStyle, 1, \ 292575801Siedowse "0 = no prefetch, " \ 292674462Salfred "1 = prefetch instructions for each allocation, " \ 292775801Siedowse "2 = use TLAB watermark to gate allocation prefetch, " \ 2928103949Smike "3 = use BIS instruction on Sparc for allocation prefetch") \ 292975801Siedowse \ 293075801Siedowse product(intx, AllocatePrefetchDistance, -1, \ 293174462Salfred "Distance to prefetch ahead of allocation pointer") \ 293275801Siedowse \ 293374462Salfred product(intx, AllocatePrefetchLines, 3, \ 293474462Salfred "Number of lines to prefetch ahead of array allocation pointer") \ 293575801Siedowse \ 293675801Siedowse product(intx, AllocateInstancePrefetchLines, 1, \ 293775801Siedowse "Number of lines to prefetch ahead of instance allocation pointer") \ 293875801Siedowse \ 293975801Siedowse product(intx, AllocatePrefetchStepSize, 16, \ 294075801Siedowse "Step size in bytes of sequential prefetch instructions") \ 294174462Salfred \ 294275801Siedowse product(intx, AllocatePrefetchInstr, 0, \ 294375801Siedowse "Prefetch instruction to prefetch ahead of allocation pointer") \ 294474462Salfred \ 294575801Siedowse product(intx, ReadPrefetchInstr, 0, \ 294675801Siedowse "Prefetch instruction to prefetch ahead") \ 294775801Siedowse \ 294875801Siedowse product(uintx, ArraycopySrcPrefetchDistance, 0, \ 294975801Siedowse "Distance to prefetch source array in arracopy") \ 295075801Siedowse \ 295175801Siedowse product(uintx, ArraycopyDstPrefetchDistance, 0, \ 295275801Siedowse "Distance to prefetch destination array in arracopy") \ 295375801Siedowse \ 295475801Siedowse /* deoptimization */ \ 295574462Salfred develop(bool, TraceDeoptimization, false, \ 295675801Siedowse "Trace deoptimization") \ 295775801Siedowse \ 295875801Siedowse develop(bool, DebugDeoptimization, false, \ 295975801Siedowse "Tracing various information while debugging deoptimization") \ 296074462Salfred \ 296174462Salfred product(intx, SelfDestructTimer, 0, \ 296275801Siedowse "Will cause VM to terminate after a given time (in minutes) " \ 296375801Siedowse "(0 means off)") \ 296475801Siedowse \ 296575801Siedowse product(intx, MaxJavaStackTraceDepth, 1024, \ 296675801Siedowse "Max. no. of lines in the stack trace for Java exceptions " \ 296775801Siedowse "(0 means all)") \ 296875801Siedowse \ 296974462Salfred NOT_EMBEDDED(diagnostic(intx, GuaranteedSafepointInterval, 1000, \ 297075801Siedowse "Guarantee a safepoint (at least) every so many milliseconds " \ 297175801Siedowse "(0 means none)")) \ 297274462Salfred \ 297375801Siedowse EMBEDDED_ONLY(product(intx, GuaranteedSafepointInterval, 0, \ 297475801Siedowse "Guarantee a safepoint (at least) every so many milliseconds " \ 297575801Siedowse "(0 means none)")) \ 297675801Siedowse \ 297775801Siedowse product(intx, SafepointTimeoutDelay, 10000, \ 297875801Siedowse "Delay in milliseconds for option SafepointTimeout") \ 297974462Salfred \ 298075801Siedowse product(intx, NmethodSweepFraction, 4, \ 298175801Siedowse "Number of invocations of sweeper to cover all nmethods") \ 298275801Siedowse \ 298374462Salfred product(intx, NmethodSweepCheckInterval, 5, \ 298474462Salfred "Compilers wake up every n seconds to possibly sweep nmethods") \ 298574462Salfred \ 298675801Siedowse notproduct(bool, LogSweeper, false, \ 298775801Siedowse "Keep a ring buffer of sweeper activity") \ 298875801Siedowse \ 298974462Salfred notproduct(intx, SweeperLogEntries, 1024, \ 299075801Siedowse "Number of records in the ring buffer of sweeper activity") \ 299175801Siedowse \ 299275801Siedowse notproduct(intx, MemProfilingInterval, 500, \ 299375801Siedowse "Time between each invocation of the MemProfiler") \ 299474462Salfred \ 299575801Siedowse develop(intx, MallocCatchPtr, -1, \ 299675801Siedowse "Hit breakpoint when mallocing/freeing this pointer") \ 299775801Siedowse \ 299875801Siedowse notproduct(intx, AssertRepeat, 1, \ 299974462Salfred "number of times to evaluate expression in assert " \ 300074462Salfred "(to estimate overhead); only works with -DUSE_REPEATED_ASSERTS") \ 300175801Siedowse \ 300275801Siedowse notproduct(ccstrlist, SuppressErrorAt, "", \ 300375801Siedowse "List of assertions (file:line) to muzzle") \ 300475801Siedowse \ 300575801Siedowse notproduct(uintx, HandleAllocationLimit, 1024, \ 300675801Siedowse "Threshold for HandleMark allocation when +TraceHandleAllocation "\ 300775801Siedowse "is used") \ 300875801Siedowse \ 300974462Salfred develop(uintx, TotalHandleAllocationLimit, 1024, \ 301074462Salfred "Threshold for total handle allocation when " \ 301175801Siedowse "+TraceHandleAllocation is used") \ 301274462Salfred \ 301375801Siedowse develop(intx, StackPrintLimit, 100, \ 301475801Siedowse "number of stack frames to print in VM-level stack dump") \ 301574462Salfred \ 301674462Salfred notproduct(intx, MaxElementPrintSize, 256, \ 301775801Siedowse "maximum number of elements to print") \ 301875801Siedowse \ 301974462Salfred notproduct(intx, MaxSubklassPrintSize, 4, \ 302074462Salfred "maximum number of subklasses to print when printing klass") \ 302175801Siedowse \ 302275801Siedowse product(intx, MaxInlineLevel, 9, \ 302374462Salfred "maximum number of nested calls that are inlined") \ 302474462Salfred \ 302575801Siedowse product(intx, MaxRecursiveInlineLevel, 1, \ 302675801Siedowse "maximum number of nested recursive calls that are inlined") \ 302775801Siedowse \ 302874462Salfred product_pd(intx, InlineSmallCode, \ 302974462Salfred "Only inline already compiled methods if their code size is " \ 303075754Siedowse "less than this") \ 303175754Siedowse \ 303275754Siedowse product(intx, MaxInlineSize, 35, \ 303375754Siedowse "maximum bytecode size of a method to be inlined") \ 303475754Siedowse \ 303575754Siedowse product_pd(intx, FreqInlineSize, \ 303674462Salfred "maximum bytecode size of a frequent method to be inlined") \ 303774462Salfred \ 303874462Salfred product(intx, MaxTrivialSize, 6, \ 3039149433Spjd "maximum bytecode size of a trivial method to be inlined") \ 304074792Salfred \ 304174792Salfred product(intx, MinInliningThreshold, 250, \ 304274462Salfred "min. invocation count a method needs to have to be inlined") \ 304374462Salfred \ 3044192934Srmacklem develop(intx, AlignEntryCode, 4, \ 3045 "aligns entry code to specified value (in bytes)") \ 3046 \ 3047 develop(intx, MethodHistogramCutoff, 100, \ 3048 "cutoff value for method invoc. histogram (+CountCalls)") \ 3049 \ 3050 develop(intx, ProfilerNumberOfInterpretedMethods, 25, \ 3051 "# of interpreted methods to show in profile") \ 3052 \ 3053 develop(intx, ProfilerNumberOfCompiledMethods, 25, \ 3054 "# of compiled methods to show in profile") \ 3055 \ 3056 develop(intx, ProfilerNumberOfStubMethods, 25, \ 3057 "# of stub methods to show in profile") \ 3058 \ 3059 develop(intx, ProfilerNumberOfRuntimeStubNodes, 25, \ 3060 "# of runtime stub nodes to show in profile") \ 3061 \ 3062 product(intx, ProfileIntervalsTicks, 100, \ 3063 "# of ticks between printing of interval profile " \ 3064 "(+ProfileIntervals)") \ 3065 \ 3066 notproduct(intx, ScavengeALotInterval, 1, \ 3067 "Interval between which scavenge will occur with +ScavengeALot") \ 3068 \ 3069 notproduct(intx, FullGCALotInterval, 1, \ 3070 "Interval between which full gc will occur with +FullGCALot") \ 3071 \ 3072 notproduct(intx, FullGCALotStart, 0, \ 3073 "For which invocation to start FullGCAlot") \ 3074 \ 3075 notproduct(intx, FullGCALotDummies, 32*K, \ 3076 "Dummy object allocated with +FullGCALot, forcing all objects " \ 3077 "to move") \ 3078 \ 3079 develop(intx, DontYieldALotInterval, 10, \ 3080 "Interval between which yields will be dropped (milliseconds)") \ 3081 \ 3082 develop(intx, MinSleepInterval, 1, \ 3083 "Minimum sleep() interval (milliseconds) when " \ 3084 "ConvertSleepToYield is off (used for SOLARIS)") \ 3085 \ 3086 product(intx, EventLogLength, 2000, \ 3087 "maximum nof events in event log") \ 3088 \ 3089 develop(intx, ProfilerPCTickThreshold, 15, \ 3090 "Number of ticks in a PC buckets to be a hotspot") \ 3091 \ 3092 notproduct(intx, DeoptimizeALotInterval, 5, \ 3093 "Number of exits until DeoptimizeALot kicks in") \ 3094 \ 3095 notproduct(intx, ZombieALotInterval, 5, \ 3096 "Number of exits until ZombieALot kicks in") \ 3097 \ 3098 develop(bool, StressNonEntrant, false, \ 3099 "Mark nmethods non-entrant at registration") \ 3100 \ 3101 diagnostic(intx, MallocVerifyInterval, 0, \ 3102 "if non-zero, verify C heap after every N calls to " \ 3103 "malloc/realloc/free") \ 3104 \ 3105 diagnostic(intx, MallocVerifyStart, 0, \ 3106 "if non-zero, start verifying C heap after Nth call to " \ 3107 "malloc/realloc/free") \ 3108 \ 3109 product(intx, TypeProfileWidth, 2, \ 3110 "number of receiver types to record in call/cast profile") \ 3111 \ 3112 develop(intx, BciProfileWidth, 2, \ 3113 "number of return bci's to record in ret profile") \ 3114 \ 3115 product(intx, PerMethodRecompilationCutoff, 400, \ 3116 "After recompiling N times, stay in the interpreter (-1=>'Inf')") \ 3117 \ 3118 product(intx, PerBytecodeRecompilationCutoff, 200, \ 3119 "Per-BCI limit on repeated recompilation (-1=>'Inf')") \ 3120 \ 3121 product(intx, PerMethodTrapLimit, 100, \ 3122 "Limit on traps (of one kind) in a method (includes inlines)") \ 3123 \ 3124 product(intx, PerBytecodeTrapLimit, 4, \ 3125 "Limit on traps (of one kind) at a particular BCI") \ 3126 \ 3127 develop(intx, FreqCountInvocations, 1, \ 3128 "Scaling factor for branch frequencies (deprecated)") \ 3129 \ 3130 develop(intx, InlineFrequencyRatio, 20, \ 3131 "Ratio of call site execution to caller method invocation") \ 3132 \ 3133 develop_pd(intx, InlineFrequencyCount, \ 3134 "Count of call site execution necessary to trigger frequent " \ 3135 "inlining") \ 3136 \ 3137 develop(intx, InlineThrowCount, 50, \ 3138 "Force inlining of interpreted methods that throw this often") \ 3139 \ 3140 develop(intx, InlineThrowMaxSize, 200, \ 3141 "Force inlining of throwing methods smaller than this") \ 3142 \ 3143 product(intx, AliasLevel, 3, \ 3144 "0 for no aliasing, 1 for oop/field/static/array split, " \ 3145 "2 for class split, 3 for unique instances") \ 3146 \ 3147 develop(bool, VerifyAliases, false, \ 3148 "perform extra checks on the results of alias analysis") \ 3149 \ 3150 develop(intx, ProfilerNodeSize, 1024, \ 3151 "Size in K to allocate for the Profile Nodes of each thread") \ 3152 \ 3153 develop(intx, V8AtomicOperationUnderLockSpinCount, 50, \ 3154 "Number of times to spin wait on a v8 atomic operation lock") \ 3155 \ 3156 product(intx, ReadSpinIterations, 100, \ 3157 "Number of read attempts before a yield (spin inner loop)") \ 3158 \ 3159 product_pd(intx, PreInflateSpin, \ 3160 "Number of times to spin wait before inflation") \ 3161 \ 3162 product(intx, PreBlockSpin, 10, \ 3163 "Number of times to spin in an inflated lock before going to " \ 3164 "an OS lock") \ 3165 \ 3166 /* gc parameters */ \ 3167 product(uintx, InitialHeapSize, 0, \ 3168 "Initial heap size (in bytes); zero means OldSize + NewSize") \ 3169 \ 3170 product(uintx, MaxHeapSize, ScaleForWordSize(96*M), \ 3171 "Maximum heap size (in bytes)") \ 3172 \ 3173 product(uintx, OldSize, ScaleForWordSize(4*M), \ 3174 "Initial tenured generation size (in bytes)") \ 3175 \ 3176 product(uintx, NewSize, ScaleForWordSize(1*M), \ 3177 "Initial new generation size (in bytes)") \ 3178 \ 3179 product(uintx, MaxNewSize, max_uintx, \ 3180 "Maximum new generation size (in bytes), max_uintx means set " \ 3181 "ergonomically") \ 3182 \ 3183 product(uintx, PretenureSizeThreshold, 0, \ 3184 "Maximum size in bytes of objects allocated in DefNew " \ 3185 "generation; zero means no maximum") \ 3186 \ 3187 product(uintx, TLABSize, 0, \ 3188 "Starting TLAB size (in bytes); zero means set ergonomically") \ 3189 \ 3190 product(uintx, MinTLABSize, 2*K, \ 3191 "Minimum allowed TLAB size (in bytes)") \ 3192 \ 3193 product(uintx, TLABAllocationWeight, 35, \ 3194 "Allocation averaging weight") \ 3195 \ 3196 product(uintx, TLABWasteTargetPercent, 1, \ 3197 "Percentage of Eden that can be wasted") \ 3198 \ 3199 product(uintx, TLABRefillWasteFraction, 64, \ 3200 "Max TLAB waste at a refill (internal fragmentation)") \ 3201 \ 3202 product(uintx, TLABWasteIncrement, 4, \ 3203 "Increment allowed waste at slow allocation") \ 3204 \ 3205 product(intx, SurvivorRatio, 8, \ 3206 "Ratio of eden/survivor space size") \ 3207 \ 3208 product(intx, NewRatio, 2, \ 3209 "Ratio of new/old generation sizes") \ 3210 \ 3211 product_pd(uintx, NewSizeThreadIncrease, \ 3212 "Additional size added to desired new generation size per " \ 3213 "non-daemon thread (in bytes)") \ 3214 \ 3215 product_pd(uintx, PermSize, \ 3216 "Initial size of permanent generation (in bytes)") \ 3217 \ 3218 product_pd(uintx, MaxPermSize, \ 3219 "Maximum size of permanent generation (in bytes)") \ 3220 \ 3221 product(uintx, MinHeapFreeRatio, 40, \ 3222 "Min percentage of heap free after GC to avoid expansion") \ 3223 \ 3224 product(uintx, MaxHeapFreeRatio, 70, \ 3225 "Max percentage of heap free after GC to avoid shrinking") \ 3226 \ 3227 product(intx, SoftRefLRUPolicyMSPerMB, 1000, \ 3228 "Number of milliseconds per MB of free space in the heap") \ 3229 \ 3230 product(uintx, MinHeapDeltaBytes, ScaleForWordSize(128*K), \ 3231 "Min change in heap space due to GC (in bytes)") \ 3232 \ 3233 product(uintx, MinPermHeapExpansion, ScaleForWordSize(256*K), \ 3234 "Min expansion of permanent heap (in bytes)") \ 3235 \ 3236 product(uintx, MaxPermHeapExpansion, ScaleForWordSize(4*M), \ 3237 "Max expansion of permanent heap without full GC (in bytes)") \ 3238 \ 3239 product(intx, QueuedAllocationWarningCount, 0, \ 3240 "Number of times an allocation that queues behind a GC " \ 3241 "will retry before printing a warning") \ 3242 \ 3243 diagnostic(uintx, VerifyGCStartAt, 0, \ 3244 "GC invoke count where +VerifyBefore/AfterGC kicks in") \ 3245 \ 3246 diagnostic(intx, VerifyGCLevel, 0, \ 3247 "Generation level at which to start +VerifyBefore/AfterGC") \ 3248 \ 3249 develop(uintx, ExitAfterGCNum, 0, \ 3250 "If non-zero, exit after this GC.") \ 3251 \ 3252 product(intx, MaxTenuringThreshold, 15, \ 3253 "Maximum value for tenuring threshold") \ 3254 \ 3255 product(intx, InitialTenuringThreshold, 7, \ 3256 "Initial value for tenuring threshold") \ 3257 \ 3258 product(intx, TargetSurvivorRatio, 50, \ 3259 "Desired percentage of survivor space used after scavenge") \ 3260 \ 3261 product(uintx, MarkSweepDeadRatio, 5, \ 3262 "Percentage (0-100) of the old gen allowed as dead wood." \ 3263 "Serial mark sweep treats this as both the min and max value." \ 3264 "CMS uses this value only if it falls back to mark sweep." \ 3265 "Par compact uses a variable scale based on the density of the" \ 3266 "generation and treats this as the max value when the heap is" \ 3267 "either completely full or completely empty. Par compact also" \ 3268 "has a smaller default value; see arguments.cpp.") \ 3269 \ 3270 product(uintx, PermMarkSweepDeadRatio, 20, \ 3271 "Percentage (0-100) of the perm gen allowed as dead wood." \ 3272 "See MarkSweepDeadRatio for collector-specific comments.") \ 3273 \ 3274 product(intx, MarkSweepAlwaysCompactCount, 4, \ 3275 "How often should we fully compact the heap (ignoring the dead " \ 3276 "space parameters)") \ 3277 \ 3278 product(intx, PrintCMSStatistics, 0, \ 3279 "Statistics for CMS") \ 3280 \ 3281 product(bool, PrintCMSInitiationStatistics, false, \ 3282 "Statistics for initiating a CMS collection") \ 3283 \ 3284 product(intx, PrintFLSStatistics, 0, \ 3285 "Statistics for CMS' FreeListSpace") \ 3286 \ 3287 product(intx, PrintFLSCensus, 0, \ 3288 "Census for CMS' FreeListSpace") \ 3289 \ 3290 develop(uintx, GCExpandToAllocateDelayMillis, 0, \ 3291 "Delay in ms between expansion and allocation") \ 3292 \ 3293 product(intx, DeferThrSuspendLoopCount, 4000, \ 3294 "(Unstable) Number of times to iterate in safepoint loop " \ 3295 " before blocking VM threads ") \ 3296 \ 3297 product(intx, DeferPollingPageLoopCount, -1, \ 3298 "(Unsafe,Unstable) Number of iterations in safepoint loop " \ 3299 "before changing safepoint polling page to RO ") \ 3300 \ 3301 product(intx, SafepointSpinBeforeYield, 2000, "(Unstable)") \ 3302 \ 3303 product(bool, PSChunkLargeArrays, true, \ 3304 "true: process large arrays in chunks") \ 3305 \ 3306 product(uintx, GCDrainStackTargetSize, 64, \ 3307 "how many entries we'll try to leave on the stack during " \ 3308 "parallel GC") \ 3309 \ 3310 /* stack parameters */ \ 3311 product_pd(intx, StackYellowPages, \ 3312 "Number of yellow zone (recoverable overflows) pages") \ 3313 \ 3314 product_pd(intx, StackRedPages, \ 3315 "Number of red zone (unrecoverable overflows) pages") \ 3316 \ 3317 product_pd(intx, StackShadowPages, \ 3318 "Number of shadow zone (for overflow checking) pages" \ 3319 " this should exceed the depth of the VM and native call stack") \ 3320 \ 3321 product_pd(intx, ThreadStackSize, \ 3322 "Thread Stack Size (in Kbytes)") \ 3323 \ 3324 product_pd(intx, VMThreadStackSize, \ 3325 "Non-Java Thread Stack Size (in Kbytes)") \ 3326 \ 3327 product_pd(intx, CompilerThreadStackSize, \ 3328 "Compiler Thread Stack Size (in Kbytes)") \ 3329 \ 3330 develop_pd(uintx, JVMInvokeMethodSlack, \ 3331 "Stack space (bytes) required for JVM_InvokeMethod to complete") \ 3332 \ 3333 product(uintx, ThreadSafetyMargin, 50*M, \ 3334 "Thread safety margin is used on fixed-stack LinuxThreads (on " \ 3335 "Linux/x86 only) to prevent heap-stack collision. Set to 0 to " \ 3336 "disable this feature") \ 3337 \ 3338 /* code cache parameters */ \ 3339 develop(uintx, CodeCacheSegmentSize, 64, \ 3340 "Code cache segment size (in bytes) - smallest unit of " \ 3341 "allocation") \ 3342 \ 3343 develop_pd(intx, CodeEntryAlignment, \ 3344 "Code entry alignment for generated code (in bytes)") \ 3345 \ 3346 product_pd(intx, OptoLoopAlignment, \ 3347 "Align inner loops to zero relative to this modulus") \ 3348 \ 3349 product_pd(uintx, InitialCodeCacheSize, \ 3350 "Initial code cache size (in bytes)") \ 3351 \ 3352 product_pd(uintx, ReservedCodeCacheSize, \ 3353 "Reserved code cache size (in bytes) - maximum code cache size") \ 3354 \ 3355 product(uintx, CodeCacheMinimumFreeSpace, 500*K, \ 3356 "When less than X space left, we stop compiling.") \ 3357 \ 3358 product_pd(uintx, CodeCacheExpansionSize, \ 3359 "Code cache expansion size (in bytes)") \ 3360 \ 3361 develop_pd(uintx, CodeCacheMinBlockLength, \ 3362 "Minimum number of segments in a code cache block.") \ 3363 \ 3364 notproduct(bool, ExitOnFullCodeCache, false, \ 3365 "Exit the VM if we fill the code cache.") \ 3366 \ 3367 product(bool, UseCodeCacheFlushing, true, \ 3368 "Attempt to clean the code cache before shutting off compiler") \ 3369 \ 3370 product(intx, MinCodeCacheFlushingInterval, 30, \ 3371 "Min number of seconds between code cache cleaning sessions") \ 3372 \ 3373 product(uintx, CodeCacheFlushingMinimumFreeSpace, 1500*K, \ 3374 "When less than X space left, start code cache cleaning") \ 3375 \ 3376 /* interpreter debugging */ \ 3377 develop(intx, BinarySwitchThreshold, 5, \ 3378 "Minimal number of lookupswitch entries for rewriting to binary " \ 3379 "switch") \ 3380 \ 3381 develop(intx, StopInterpreterAt, 0, \ 3382 "Stops interpreter execution at specified bytecode number") \ 3383 \ 3384 develop(intx, TraceBytecodesAt, 0, \ 3385 "Traces bytecodes starting with specified bytecode number") \ 3386 \ 3387 /* compiler interface */ \ 3388 develop(intx, CIStart, 0, \ 3389 "the id of the first compilation to permit") \ 3390 \ 3391 develop(intx, CIStop, -1, \ 3392 "the id of the last compilation to permit") \ 3393 \ 3394 develop(intx, CIStartOSR, 0, \ 3395 "the id of the first osr compilation to permit " \ 3396 "(CICountOSR must be on)") \ 3397 \ 3398 develop(intx, CIStopOSR, -1, \ 3399 "the id of the last osr compilation to permit " \ 3400 "(CICountOSR must be on)") \ 3401 \ 3402 develop(intx, CIBreakAtOSR, -1, \ 3403 "id of osr compilation to break at") \ 3404 \ 3405 develop(intx, CIBreakAt, -1, \ 3406 "id of compilation to break at") \ 3407 \ 3408 product(ccstrlist, CompileOnly, "", \ 3409 "List of methods (pkg/class.name) to restrict compilation to") \ 3410 \ 3411 product(ccstr, CompileCommandFile, NULL, \ 3412 "Read compiler commands from this file [.hotspot_compiler]") \ 3413 \ 3414 product(ccstrlist, CompileCommand, "", \ 3415 "Prepend to .hotspot_compiler; e.g. log,java/lang/String.<init>") \ 3416 \ 3417 product(bool, CICompilerCountPerCPU, false, \ 3418 "1 compiler thread for log(N CPUs)") \ 3419 \ 3420 develop(intx, CIFireOOMAt, -1, \ 3421 "Fire OutOfMemoryErrors throughout CI for testing the compiler " \ 3422 "(non-negative value throws OOM after this many CI accesses " \ 3423 "in each compile)") \ 3424 \ 3425 develop(intx, CIFireOOMAtDelay, -1, \ 3426 "Wait for this many CI accesses to occur in all compiles before " \ 3427 "beginning to throw OutOfMemoryErrors in each compile") \ 3428 \ 3429 notproduct(bool, CIObjectFactoryVerify, false, \ 3430 "enable potentially expensive verification in ciObjectFactory") \ 3431 \ 3432 /* Priorities */ \ 3433 product_pd(bool, UseThreadPriorities, "Use native thread priorities") \ 3434 \ 3435 product(intx, ThreadPriorityPolicy, 0, \ 3436 "0 : Normal. "\ 3437 " VM chooses priorities that are appropriate for normal "\ 3438 " applications. On Solaris NORM_PRIORITY and above are mapped "\ 3439 " to normal native priority. Java priorities below NORM_PRIORITY"\ 3440 " map to lower native priority values. On Windows applications"\ 3441 " are allowed to use higher native priorities. However, with "\ 3442 " ThreadPriorityPolicy=0, VM will not use the highest possible"\ 3443 " native priority, THREAD_PRIORITY_TIME_CRITICAL, as it may "\ 3444 " interfere with system threads. On Linux thread priorities "\ 3445 " are ignored because the OS does not support static priority "\ 3446 " in SCHED_OTHER scheduling class which is the only choice for"\ 3447 " non-root, non-realtime applications. "\ 3448 "1 : Aggressive. "\ 3449 " Java thread priorities map over to the entire range of "\ 3450 " native thread priorities. Higher Java thread priorities map "\ 3451 " to higher native thread priorities. This policy should be "\ 3452 " used with care, as sometimes it can cause performance "\ 3453 " degradation in the application and/or the entire system. On "\ 3454 " Linux this policy requires root privilege.") \ 3455 \ 3456 product(bool, ThreadPriorityVerbose, false, \ 3457 "print priority changes") \ 3458 \ 3459 product(intx, DefaultThreadPriority, -1, \ 3460 "what native priority threads run at if not specified elsewhere (-1 means no change)") \ 3461 \ 3462 product(intx, CompilerThreadPriority, -1, \ 3463 "what priority should compiler threads run at (-1 means no change)") \ 3464 \ 3465 product(intx, VMThreadPriority, -1, \ 3466 "what priority should VM threads run at (-1 means no change)") \ 3467 \ 3468 product(bool, CompilerThreadHintNoPreempt, true, \ 3469 "(Solaris only) Give compiler threads an extra quanta") \ 3470 \ 3471 product(bool, VMThreadHintNoPreempt, false, \ 3472 "(Solaris only) Give VM thread an extra quanta") \ 3473 \ 3474 product(intx, JavaPriority1_To_OSPriority, -1, "Map Java priorities to OS priorities") \ 3475 product(intx, JavaPriority2_To_OSPriority, -1, "Map Java priorities to OS priorities") \ 3476 product(intx, JavaPriority3_To_OSPriority, -1, "Map Java priorities to OS priorities") \ 3477 product(intx, JavaPriority4_To_OSPriority, -1, "Map Java priorities to OS priorities") \ 3478 product(intx, JavaPriority5_To_OSPriority, -1, "Map Java priorities to OS priorities") \ 3479 product(intx, JavaPriority6_To_OSPriority, -1, "Map Java priorities to OS priorities") \ 3480 product(intx, JavaPriority7_To_OSPriority, -1, "Map Java priorities to OS priorities") \ 3481 product(intx, JavaPriority8_To_OSPriority, -1, "Map Java priorities to OS priorities") \ 3482 product(intx, JavaPriority9_To_OSPriority, -1, "Map Java priorities to OS priorities") \ 3483 product(intx, JavaPriority10_To_OSPriority,-1, "Map Java priorities to OS priorities") \ 3484 \ 3485 /* compiler debugging */ \ 3486 notproduct(intx, CompileTheWorldStartAt, 1, \ 3487 "First class to consider when using +CompileTheWorld") \ 3488 \ 3489 notproduct(intx, CompileTheWorldStopAt, max_jint, \ 3490 "Last class to consider when using +CompileTheWorld") \ 3491 \ 3492 develop(intx, NewCodeParameter, 0, \ 3493 "Testing Only: Create a dedicated integer parameter before " \ 3494 "putback") \ 3495 \ 3496 /* new oopmap storage allocation */ \ 3497 develop(intx, MinOopMapAllocation, 8, \ 3498 "Minimum number of OopMap entries in an OopMapSet") \ 3499 \ 3500 /* Background Compilation */ \ 3501 develop(intx, LongCompileThreshold, 50, \ 3502 "Used with +TraceLongCompiles") \ 3503 \ 3504 product(intx, StarvationMonitorInterval, 200, \ 3505 "Pause between each check in ms") \ 3506 \ 3507 /* recompilation */ \ 3508 product_pd(intx, CompileThreshold, \ 3509 "number of interpreted method invocations before (re-)compiling") \ 3510 \ 3511 product_pd(intx, BackEdgeThreshold, \ 3512 "Interpreter Back edge threshold at which an OSR compilation is invoked")\ 3513 \ 3514 product(intx, Tier0InvokeNotifyFreqLog, 7, \ 3515 "Interpreter (tier 0) invocation notification frequency.") \ 3516 \ 3517 product(intx, Tier2InvokeNotifyFreqLog, 11, \ 3518 "C1 without MDO (tier 2) invocation notification frequency.") \ 3519 \ 3520 product(intx, Tier3InvokeNotifyFreqLog, 10, \ 3521 "C1 with MDO profiling (tier 3) invocation notification " \ 3522 "frequency.") \ 3523 \ 3524 product(intx, Tier23InlineeNotifyFreqLog, 20, \ 3525 "Inlinee invocation (tiers 2 and 3) notification frequency") \ 3526 \ 3527 product(intx, Tier0BackedgeNotifyFreqLog, 10, \ 3528 "Interpreter (tier 0) invocation notification frequency.") \ 3529 \ 3530 product(intx, Tier2BackedgeNotifyFreqLog, 14, \ 3531 "C1 without MDO (tier 2) invocation notification frequency.") \ 3532 \ 3533 product(intx, Tier3BackedgeNotifyFreqLog, 13, \ 3534 "C1 with MDO profiling (tier 3) invocation notification " \ 3535 "frequency.") \ 3536 \ 3537 product(intx, Tier2CompileThreshold, 0, \ 3538 "threshold at which tier 2 compilation is invoked") \ 3539 \ 3540 product(intx, Tier2BackEdgeThreshold, 0, \ 3541 "Back edge threshold at which tier 2 compilation is invoked") \ 3542 \ 3543 product(intx, Tier3InvocationThreshold, 200, \ 3544 "Compile if number of method invocations crosses this " \ 3545 "threshold") \ 3546 \ 3547 product(intx, Tier3MinInvocationThreshold, 100, \ 3548 "Minimum invocation to compile at tier 3") \ 3549 \ 3550 product(intx, Tier3CompileThreshold, 2000, \ 3551 "Threshold at which tier 3 compilation is invoked (invocation " \ 3552 "minimum must be satisfied.") \ 3553 \ 3554 product(intx, Tier3BackEdgeThreshold, 7000, \ 3555 "Back edge threshold at which tier 3 OSR compilation is invoked") \ 3556 \ 3557 product(intx, Tier4InvocationThreshold, 5000, \ 3558 "Compile if number of method invocations crosses this " \ 3559 "threshold") \ 3560 \ 3561 product(intx, Tier4MinInvocationThreshold, 600, \ 3562 "Minimum invocation to compile at tier 4") \ 3563 \ 3564 product(intx, Tier4CompileThreshold, 15000, \ 3565 "Threshold at which tier 4 compilation is invoked (invocation " \ 3566 "minimum must be satisfied.") \ 3567 \ 3568 product(intx, Tier4BackEdgeThreshold, 40000, \ 3569 "Back edge threshold at which tier 4 OSR compilation is invoked") \ 3570 \ 3571 product(intx, Tier3DelayOn, 5, \ 3572 "If C2 queue size grows over this amount per compiler thread " \ 3573 "stop compiling at tier 3 and start compiling at tier 2") \ 3574 \ 3575 product(intx, Tier3DelayOff, 2, \ 3576 "If C2 queue size is less than this amount per compiler thread " \ 3577 "allow methods compiled at tier 2 transition to tier 3") \ 3578 \ 3579 product(intx, Tier3LoadFeedback, 5, \ 3580 "Tier 3 thresholds will increase twofold when C1 queue size " \ 3581 "reaches this amount per compiler thread") \ 3582 \ 3583 product(intx, Tier4LoadFeedback, 3, \ 3584 "Tier 4 thresholds will increase twofold when C2 queue size " \ 3585 "reaches this amount per compiler thread") \ 3586 \ 3587 product(intx, TieredCompileTaskTimeout, 50, \ 3588 "Kill compile task if method was not used within " \ 3589 "given timeout in milliseconds") \ 3590 \ 3591 product(intx, TieredStopAtLevel, 4, \ 3592 "Stop at given compilation level") \ 3593 \ 3594 product(intx, Tier0ProfilingStartPercentage, 200, \ 3595 "Start profiling in interpreter if the counters exceed tier 3" \ 3596 "thresholds by the specified percentage") \ 3597 \ 3598 product(intx, TieredRateUpdateMinTime, 1, \ 3599 "Minimum rate sampling interval (in milliseconds)") \ 3600 \ 3601 product(intx, TieredRateUpdateMaxTime, 25, \ 3602 "Maximum rate sampling interval (in milliseconds)") \ 3603 \ 3604 product_pd(bool, TieredCompilation, \ 3605 "Enable tiered compilation") \ 3606 \ 3607 product(bool, PrintTieredEvents, false, \ 3608 "Print tiered events notifications") \ 3609 \ 3610 product(bool, StressTieredRuntime, false, \ 3611 "Alternate client and server compiler on compile requests") \ 3612 \ 3613 product_pd(intx, OnStackReplacePercentage, \ 3614 "NON_TIERED number of method invocations/branches (expressed as %"\ 3615 "of CompileThreshold) before (re-)compiling OSR code") \ 3616 \ 3617 product(intx, InterpreterProfilePercentage, 33, \ 3618 "NON_TIERED number of method invocations/branches (expressed as %"\ 3619 "of CompileThreshold) before profiling in the interpreter") \ 3620 \ 3621 develop(intx, MaxRecompilationSearchLength, 10, \ 3622 "max. # frames to inspect searching for recompilee") \ 3623 \ 3624 develop(intx, MaxInterpretedSearchLength, 3, \ 3625 "max. # interp. frames to skip when searching for recompilee") \ 3626 \ 3627 develop(intx, DesiredMethodLimit, 8000, \ 3628 "desired max. method size (in bytecodes) after inlining") \ 3629 \ 3630 develop(intx, HugeMethodLimit, 8000, \ 3631 "don't compile methods larger than this if " \ 3632 "+DontCompileHugeMethods") \ 3633 \ 3634 /* New JDK 1.4 reflection implementation */ \ 3635 \ 3636 develop(bool, UseNewReflection, true, \ 3637 "Temporary flag for transition to reflection based on dynamic " \ 3638 "bytecode generation in 1.4; can no longer be turned off in 1.4 " \ 3639 "JDK, and is unneeded in 1.3 JDK, but marks most places VM " \ 3640 "changes were needed") \ 3641 \ 3642 develop(bool, VerifyReflectionBytecodes, false, \ 3643 "Force verification of 1.4 reflection bytecodes. Does not work " \ 3644 "in situations like that described in 4486457 or for " \ 3645 "constructors generated for serialization, so can not be enabled "\ 3646 "in product.") \ 3647 \ 3648 product(bool, ReflectionWrapResolutionErrors, true, \ 3649 "Temporary flag for transition to AbstractMethodError wrapped " \ 3650 "in InvocationTargetException. See 6531596") \ 3651 \ 3652 \ 3653 develop(intx, FastSuperclassLimit, 8, \ 3654 "Depth of hardwired instanceof accelerator array") \ 3655 \ 3656 /* Properties for Java libraries */ \ 3657 \ 3658 product(intx, MaxDirectMemorySize, -1, \ 3659 "Maximum total size of NIO direct-buffer allocations") \ 3660 \ 3661 /* temporary developer defined flags */ \ 3662 \ 3663 diagnostic(bool, UseNewCode, false, \ 3664 "Testing Only: Use the new version while testing") \ 3665 \ 3666 diagnostic(bool, UseNewCode2, false, \ 3667 "Testing Only: Use the new version while testing") \ 3668 \ 3669 diagnostic(bool, UseNewCode3, false, \ 3670 "Testing Only: Use the new version while testing") \ 3671 \ 3672 /* flags for performance data collection */ \ 3673 \ 3674 product(bool, UsePerfData, falseInEmbedded, \ 3675 "Flag to disable jvmstat instrumentation for performance testing" \ 3676 "and problem isolation purposes.") \ 3677 \ 3678 product(bool, PerfDataSaveToFile, false, \ 3679 "Save PerfData memory to hsperfdata_<pid> file on exit") \ 3680 \ 3681 product(ccstr, PerfDataSaveFile, NULL, \ 3682 "Save PerfData memory to the specified absolute pathname," \ 3683 "%p in the file name if present will be replaced by pid") \ 3684 \ 3685 product(intx, PerfDataSamplingInterval, 50 /*ms*/, \ 3686 "Data sampling interval in milliseconds") \ 3687 \ 3688 develop(bool, PerfTraceDataCreation, false, \ 3689 "Trace creation of Performance Data Entries") \ 3690 \ 3691 develop(bool, PerfTraceMemOps, false, \ 3692 "Trace PerfMemory create/attach/detach calls") \ 3693 \ 3694 product(bool, PerfDisableSharedMem, false, \ 3695 "Store performance data in standard memory") \ 3696 \ 3697 product(intx, PerfDataMemorySize, 32*K, \ 3698 "Size of performance data memory region. Will be rounded " \ 3699 "up to a multiple of the native os page size.") \ 3700 \ 3701 product(intx, PerfMaxStringConstLength, 1024, \ 3702 "Maximum PerfStringConstant string length before truncation") \ 3703 \ 3704 product(bool, PerfAllowAtExitRegistration, false, \ 3705 "Allow registration of atexit() methods") \ 3706 \ 3707 product(bool, PerfBypassFileSystemCheck, false, \ 3708 "Bypass Win32 file system criteria checks (Windows Only)") \ 3709 \ 3710 product(intx, UnguardOnExecutionViolation, 0, \ 3711 "Unguard page and retry on no-execute fault (Win32 only)" \ 3712 "0=off, 1=conservative, 2=aggressive") \ 3713 \ 3714 /* Serviceability Support */ \ 3715 \ 3716 product(bool, ManagementServer, false, \ 3717 "Create JMX Management Server") \ 3718 \ 3719 product(bool, DisableAttachMechanism, false, \ 3720 "Disable mechanism that allows tools to attach to this VM") \ 3721 \ 3722 product(bool, StartAttachListener, false, \ 3723 "Always start Attach Listener at VM startup") \ 3724 \ 3725 manageable(bool, PrintConcurrentLocks, false, \ 3726 "Print java.util.concurrent locks in thread dump") \ 3727 \ 3728 product(bool, TransmitErrorReport, false, \ 3729 "Enable error report transmission on erroneous termination") \ 3730 \ 3731 product(ccstr, ErrorReportServer, NULL, \ 3732 "Override built-in error report server address") \ 3733 \ 3734 /* Shared spaces */ \ 3735 \ 3736 product(bool, UseSharedSpaces, true, \ 3737 "Use shared spaces in the permanent generation") \ 3738 \ 3739 product(bool, RequireSharedSpaces, false, \ 3740 "Require shared spaces in the permanent generation") \ 3741 \ 3742 product(bool, DumpSharedSpaces, false, \ 3743 "Special mode: JVM reads a class list, loads classes, builds " \ 3744 "shared spaces, and dumps the shared spaces to a file to be " \ 3745 "used in future JVM runs.") \ 3746 \ 3747 product(bool, PrintSharedSpaces, false, \ 3748 "Print usage of shared spaces") \ 3749 \ 3750 product(uintx, SharedDummyBlockSize, 512*M, \ 3751 "Size of dummy block used to shift heap addresses (in bytes)") \ 3752 \ 3753 product(uintx, SharedReadWriteSize, NOT_LP64(12*M) LP64_ONLY(13*M), \ 3754 "Size of read-write space in permanent generation (in bytes)") \ 3755 \ 3756 product(uintx, SharedReadOnlySize, 10*M, \ 3757 "Size of read-only space in permanent generation (in bytes)") \ 3758 \ 3759 product(uintx, SharedMiscDataSize, NOT_LP64(4*M) LP64_ONLY(5*M), \ 3760 "Size of the shared data area adjacent to the heap (in bytes)") \ 3761 \ 3762 product(uintx, SharedMiscCodeSize, 4*M, \ 3763 "Size of the shared code area adjacent to the heap (in bytes)") \ 3764 \ 3765 diagnostic(bool, SharedOptimizeColdStart, true, \ 3766 "At dump time, order shared objects to achieve better " \ 3767 "cold startup time.") \ 3768 \ 3769 develop(intx, SharedOptimizeColdStartPolicy, 2, \ 3770 "Reordering policy for SharedOptimizeColdStart " \ 3771 "0=favor classload-time locality, 1=balanced, " \ 3772 "2=favor runtime locality") \ 3773 \ 3774 diagnostic(bool, SharedSkipVerify, false, \ 3775 "Skip assert() and verify() which page-in unwanted shared " \ 3776 "objects. ") \ 3777 \ 3778 diagnostic(bool, EnableInvokeDynamic, true, \ 3779 "support JSR 292 (method handles, invokedynamic, " \ 3780 "anonymous classes") \ 3781 \ 3782 product(bool, AnonymousClasses, false, \ 3783 "support sun.misc.Unsafe.defineAnonymousClass (deprecated)") \ 3784 \ 3785 experimental(bool, EnableMethodHandles, false, \ 3786 "support method handles (deprecated)") \ 3787 \ 3788 diagnostic(intx, MethodHandlePushLimit, 3, \ 3789 "number of additional stack slots a method handle may push") \ 3790 \ 3791 diagnostic(bool, PrintMethodHandleStubs, false, \ 3792 "Print generated stub code for method handles") \ 3793 \ 3794 develop(bool, TraceMethodHandles, false, \ 3795 "trace internal method handle operations") \ 3796 \ 3797 diagnostic(bool, VerifyMethodHandles, trueInDebug, \ 3798 "perform extra checks when constructing method handles") \ 3799 \ 3800 diagnostic(bool, OptimizeMethodHandles, true, \ 3801 "when constructing method handles, try to improve them") \ 3802 \ 3803 develop(bool, StressMethodHandleWalk, false, \ 3804 "Process all method handles with MethodHandleWalk") \ 3805 \ 3806 diagnostic(bool, UseRicochetFrames, true, \ 3807 "use ricochet stack frames for method handle combination, " \ 3808 "if the platform supports them") \ 3809 \ 3810 experimental(bool, TrustFinalNonStaticFields, false, \ 3811 "trust final non-static declarations for constant folding") \ 3812 \ 3813 experimental(bool, AllowInvokeGeneric, false, \ 3814 "accept MethodHandle.invoke and MethodHandle.invokeGeneric " \ 3815 "as equivalent methods") \ 3816 \ 3817 develop(bool, TraceInvokeDynamic, false, \ 3818 "trace internal invoke dynamic operations") \ 3819 \ 3820 diagnostic(bool, PauseAtStartup, false, \ 3821 "Causes the VM to pause at startup time and wait for the pause " \ 3822 "file to be removed (default: ./vm.paused.<pid>)") \ 3823 \ 3824 diagnostic(ccstr, PauseAtStartupFile, NULL, \ 3825 "The file to create and for whose removal to await when pausing " \ 3826 "at startup. (default: ./vm.paused.<pid>)") \ 3827 \ 3828 diagnostic(bool, PauseAtExit, false, \ 3829 "Pause and wait for keypress on exit if a debugger is attached") \ 3830 \ 3831 product(bool, ExtendedDTraceProbes, false, \ 3832 "Enable performance-impacting dtrace probes") \ 3833 \ 3834 product(bool, DTraceMethodProbes, false, \ 3835 "Enable dtrace probes for method-entry and method-exit") \ 3836 \ 3837 product(bool, DTraceAllocProbes, false, \ 3838 "Enable dtrace probes for object allocation") \ 3839 \ 3840 product(bool, DTraceMonitorProbes, false, \ 3841 "Enable dtrace probes for monitor events") \ 3842 \ 3843 product(bool, RelaxAccessControlCheck, false, \ 3844 "Relax the access control checks in the verifier") \ 3845 \ 3846 diagnostic(bool, PrintDTraceDOF, false, \ 3847 "Print the DTrace DOF passed to the system for JSDT probes") \ 3848 \ 3849 product(uintx, StringTableSize, 1009, \ 3850 "Number of buckets in the interned String table") \ 3851 \ 3852 product(bool, UseVMInterruptibleIO, false, \ 3853 "(Unstable, Solaris-specific) Thread interrupt before or with " \ 3854 "EINTR for I/O operations results in OS_INTRPT. The default value"\ 3855 " of this flag is true for JDK 6 and earliers") 3856 3857/* 3858 * Macros for factoring of globals 3859 */ 3860 3861// Interface macros 3862#define DECLARE_PRODUCT_FLAG(type, name, value, doc) extern "C" type name; 3863#define DECLARE_PD_PRODUCT_FLAG(type, name, doc) extern "C" type name; 3864#define DECLARE_DIAGNOSTIC_FLAG(type, name, value, doc) extern "C" type name; 3865#define DECLARE_EXPERIMENTAL_FLAG(type, name, value, doc) extern "C" type name; 3866#define DECLARE_MANAGEABLE_FLAG(type, name, value, doc) extern "C" type name; 3867#define DECLARE_PRODUCT_RW_FLAG(type, name, value, doc) extern "C" type name; 3868#ifdef PRODUCT 3869#define DECLARE_DEVELOPER_FLAG(type, name, value, doc) const type name = value; 3870#define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) const type name = pd_##name; 3871#define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) 3872#else 3873#define DECLARE_DEVELOPER_FLAG(type, name, value, doc) extern "C" type name; 3874#define DECLARE_PD_DEVELOPER_FLAG(type, name, doc) extern "C" type name; 3875#define DECLARE_NOTPRODUCT_FLAG(type, name, value, doc) extern "C" type name; 3876#endif 3877// Special LP64 flags, product only needed for now. 3878#ifdef _LP64 3879#define DECLARE_LP64_PRODUCT_FLAG(type, name, value, doc) extern "C" type name; 3880#else 3881#define DECLARE_LP64_PRODUCT_FLAG(type, name, value, doc) const type name = value; 3882#endif // _LP64 3883 3884// Implementation macros 3885#define MATERIALIZE_PRODUCT_FLAG(type, name, value, doc) type name = value; 3886#define MATERIALIZE_PD_PRODUCT_FLAG(type, name, doc) type name = pd_##name; 3887#define MATERIALIZE_DIAGNOSTIC_FLAG(type, name, value, doc) type name = value; 3888#define MATERIALIZE_EXPERIMENTAL_FLAG(type, name, value, doc) type name = value; 3889#define MATERIALIZE_MANAGEABLE_FLAG(type, name, value, doc) type name = value; 3890#define MATERIALIZE_PRODUCT_RW_FLAG(type, name, value, doc) type name = value; 3891#ifdef PRODUCT 3892#define MATERIALIZE_DEVELOPER_FLAG(type, name, value, doc) /* flag name is constant */ 3893#define MATERIALIZE_PD_DEVELOPER_FLAG(type, name, doc) /* flag name is constant */ 3894#define MATERIALIZE_NOTPRODUCT_FLAG(type, name, value, doc) 3895#else 3896#define MATERIALIZE_DEVELOPER_FLAG(type, name, value, doc) type name = value; 3897#define MATERIALIZE_PD_DEVELOPER_FLAG(type, name, doc) type name = pd_##name; 3898#define MATERIALIZE_NOTPRODUCT_FLAG(type, name, value, doc) type name = value; 3899#endif 3900#ifdef _LP64 3901#define MATERIALIZE_LP64_PRODUCT_FLAG(type, name, value, doc) type name = value; 3902#else 3903#define MATERIALIZE_LP64_PRODUCT_FLAG(type, name, value, doc) /* flag is constant */ 3904#endif // _LP64 3905 3906RUNTIME_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_EXPERIMENTAL_FLAG, DECLARE_NOTPRODUCT_FLAG, DECLARE_MANAGEABLE_FLAG, DECLARE_PRODUCT_RW_FLAG, DECLARE_LP64_PRODUCT_FLAG) 3907 3908RUNTIME_OS_FLAGS(DECLARE_DEVELOPER_FLAG, DECLARE_PD_DEVELOPER_FLAG, DECLARE_PRODUCT_FLAG, DECLARE_PD_PRODUCT_FLAG, DECLARE_DIAGNOSTIC_FLAG, DECLARE_NOTPRODUCT_FLAG) 3909 3910#endif // SHARE_VM_RUNTIME_GLOBALS_HPP 3911