comparison src/cpu/x86/vm/globals_x86.hpp @ 10287:12f651e29f6b

6843347: Boundary values in some public GC options cause crashes Summary: Setting some public integer options to specific values causes crashes or undefined GC behavior. This patchset adds the necessary argument checking for these options. Reviewed-by: jmasa, brutisso
author tschatzl
date Wed, 15 May 2013 11:05:09 +0200
parents 00af3a3a8df4
children cd54c7e92908
comparison
equal deleted inserted replaced
10286:0a2986f36965 10287:12f651e29f6b
75 #else 75 #else
76 define_pd_global(bool, UseMembar, false); 76 define_pd_global(bool, UseMembar, false);
77 #endif 77 #endif
78 78
79 // GC Ergo Flags 79 // GC Ergo Flags
80 define_pd_global(intx, CMSYoungGenPerWorker, 64*M); // default max size of CMS young gen, per GC worker thread 80 define_pd_global(uintx, CMSYoungGenPerWorker, 64*M); // default max size of CMS young gen, per GC worker thread
81 81
82 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct) \ 82 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct) \
83 \ 83 \
84 develop(bool, IEEEPrecision, true, \ 84 develop(bool, IEEEPrecision, true, \
85 "Enables IEEE precision (for INTEL only)") \ 85 "Enables IEEE precision (for INTEL only)") \