Mercurial > hg > graal-compiler
comparison src/cpu/zero/vm/globals_zero.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 | 2cd5e15048e6 |
children | bd3237e0e18d 6a936747b569 |
comparison
equal
deleted
inserted
replaced
10286:0a2986f36965 | 10287:12f651e29f6b |
---|---|
53 define_pd_global(bool, RewriteFrequentPairs, true); | 53 define_pd_global(bool, RewriteFrequentPairs, true); |
54 | 54 |
55 define_pd_global(bool, UseMembar, true); | 55 define_pd_global(bool, UseMembar, true); |
56 | 56 |
57 // GC Ergo Flags | 57 // GC Ergo Flags |
58 define_pd_global(intx, CMSYoungGenPerWorker, 16*M); // default max size of CMS young gen, per GC worker thread | 58 define_pd_global(uintx, CMSYoungGenPerWorker, 16*M); // default max size of CMS young gen, per GC worker thread |
59 | 59 |
60 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct) | 60 #define ARCH_FLAGS(develop, product, diagnostic, experimental, notproduct) |
61 | 61 |
62 #endif // CPU_ZERO_VM_GLOBALS_ZERO_HPP | 62 #endif // CPU_ZERO_VM_GLOBALS_ZERO_HPP |