Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/globals.hpp @ 4875:379b22e03c32
Merge
author | jcoomes |
---|---|
date | Fri, 03 Feb 2012 12:08:55 -0800 |
parents | 527cf36f4a20 0382d2b469b2 |
children | cfdfbeac0a5b |
comparison
equal
deleted
inserted
replaced
4866:527cf36f4a20 | 4875:379b22e03c32 |
---|---|
24 | 24 |
25 #ifndef SHARE_VM_RUNTIME_GLOBALS_HPP | 25 #ifndef SHARE_VM_RUNTIME_GLOBALS_HPP |
26 #define SHARE_VM_RUNTIME_GLOBALS_HPP | 26 #define SHARE_VM_RUNTIME_GLOBALS_HPP |
27 | 27 |
28 #include "utilities/debug.hpp" | 28 #include "utilities/debug.hpp" |
29 | |
30 // use this for flags that are true per default in the tiered build | |
31 // but false in non-tiered builds, and vice versa | |
32 #ifdef TIERED | |
33 #define trueInTiered true | |
34 #define falseInTiered false | |
35 #else | |
36 #define trueInTiered false | |
37 #define falseInTiered true | |
38 #endif | |
39 | |
29 #ifdef TARGET_ARCH_x86 | 40 #ifdef TARGET_ARCH_x86 |
30 # include "globals_x86.hpp" | 41 # include "globals_x86.hpp" |
31 #endif | 42 #endif |
32 #ifdef TARGET_ARCH_sparc | 43 #ifdef TARGET_ARCH_sparc |
33 # include "globals_sparc.hpp" | 44 # include "globals_sparc.hpp" |
349 #define trueInProduct true | 360 #define trueInProduct true |
350 #define falseInProduct false | 361 #define falseInProduct false |
351 #else | 362 #else |
352 #define trueInProduct false | 363 #define trueInProduct false |
353 #define falseInProduct true | 364 #define falseInProduct true |
354 #endif | |
355 | |
356 // use this for flags that are true per default in the tiered build | |
357 // but false in non-tiered builds, and vice versa | |
358 #ifdef TIERED | |
359 #define trueInTiered true | |
360 #define falseInTiered false | |
361 #else | |
362 #define trueInTiered false | |
363 #define falseInTiered true | |
364 #endif | 365 #endif |
365 | 366 |
366 #ifdef JAVASE_EMBEDDED | 367 #ifdef JAVASE_EMBEDDED |
367 #define falseInEmbedded false | 368 #define falseInEmbedded false |
368 #else | 369 #else |
656 "special version of string equals") \ | 657 "special version of string equals") \ |
657 \ | 658 \ |
658 develop(bool, SpecialArraysEquals, true, \ | 659 develop(bool, SpecialArraysEquals, true, \ |
659 "special version of Arrays.equals(char[],char[])") \ | 660 "special version of Arrays.equals(char[],char[])") \ |
660 \ | 661 \ |
662 product(bool, CriticalJNINatives, true, \ | |
663 "check for critical JNI entry points") \ | |
664 \ | |
665 notproduct(bool, StressCriticalJNINatives, false, \ | |
666 "Exercise register saving code in critical natives") \ | |
667 \ | |
661 product(bool, UseSSE42Intrinsics, false, \ | 668 product(bool, UseSSE42Intrinsics, false, \ |
662 "SSE4.2 versions of intrinsics") \ | 669 "SSE4.2 versions of intrinsics") \ |
663 \ | 670 \ |
664 product(bool, UseCondCardMark, false, \ | 671 product(bool, UseCondCardMark, false, \ |
665 "Check for already marked card before updating card table") \ | 672 "Check for already marked card before updating card table") \ |
733 "Trace external suspend wait failures") \ | 740 "Trace external suspend wait failures") \ |
734 \ | 741 \ |
735 product(bool, MaxFDLimit, true, \ | 742 product(bool, MaxFDLimit, true, \ |
736 "Bump the number of file descriptors to max in solaris.") \ | 743 "Bump the number of file descriptors to max in solaris.") \ |
737 \ | 744 \ |
738 notproduct(bool, LogEvents, trueInDebug, \ | 745 diagnostic(bool, LogEvents, true, \ |
739 "Enable Event log") \ | 746 "Enable the various ring buffer event logs") \ |
747 \ | |
748 diagnostic(intx, LogEventsBufferEntries, 10, \ | |
749 "Enable the various ring buffer event logs") \ | |
740 \ | 750 \ |
741 product(bool, BytecodeVerificationRemote, true, \ | 751 product(bool, BytecodeVerificationRemote, true, \ |
742 "Enables the Java bytecode verifier for remote classes") \ | 752 "Enables the Java bytecode verifier for remote classes") \ |
743 \ | 753 \ |
744 product(bool, BytecodeVerificationLocal, false, \ | 754 product(bool, BytecodeVerificationLocal, false, \ |