Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/globals.hpp @ 12324:510fbd28919c
8020151: PSR:PERF Large performance regressions when code cache is filled
Summary: Code cache sweeping based on method hotness; removed speculatively disconnect
Reviewed-by: kvn, iveresov
author | anoll |
---|---|
date | Fri, 27 Sep 2013 10:50:55 +0200 |
parents | 72b7e96c1922 |
children | 1c3486050433 |
comparison
equal
deleted
inserted
replaced
12323:c9ccd7b85f20 | 12324:510fbd28919c |
---|---|
2866 "Number of invocations of sweeper to cover all nmethods") \ | 2866 "Number of invocations of sweeper to cover all nmethods") \ |
2867 \ | 2867 \ |
2868 product(intx, NmethodSweepCheckInterval, 5, \ | 2868 product(intx, NmethodSweepCheckInterval, 5, \ |
2869 "Compilers wake up every n seconds to possibly sweep nmethods") \ | 2869 "Compilers wake up every n seconds to possibly sweep nmethods") \ |
2870 \ | 2870 \ |
2871 product(intx, NmethodSweepActivity, 10, \ | |
2872 "Removes cold nmethods from code cache if > 0. Higher values " \ | |
2873 "result in more aggressive sweeping") \ | |
2874 \ | |
2871 notproduct(bool, LogSweeper, false, \ | 2875 notproduct(bool, LogSweeper, false, \ |
2872 "Keep a ring buffer of sweeper activity") \ | 2876 "Keep a ring buffer of sweeper activity") \ |
2873 \ | 2877 \ |
2874 notproduct(intx, SweeperLogEntries, 1024, \ | 2878 notproduct(intx, SweeperLogEntries, 1024, \ |
2875 "Number of records in the ring buffer of sweeper activity") \ | 2879 "Number of records in the ring buffer of sweeper activity") \ |
3236 notproduct(bool, ExitOnFullCodeCache, false, \ | 3240 notproduct(bool, ExitOnFullCodeCache, false, \ |
3237 "Exit the VM if we fill the code cache.") \ | 3241 "Exit the VM if we fill the code cache.") \ |
3238 \ | 3242 \ |
3239 product(bool, UseCodeCacheFlushing, true, \ | 3243 product(bool, UseCodeCacheFlushing, true, \ |
3240 "Attempt to clean the code cache before shutting off compiler") \ | 3244 "Attempt to clean the code cache before shutting off compiler") \ |
3241 \ | |
3242 product(intx, MinCodeCacheFlushingInterval, 30, \ | |
3243 "Min number of seconds between code cache cleaning sessions") \ | |
3244 \ | |
3245 product(uintx, CodeCacheFlushingMinimumFreeSpace, 1500*K, \ | |
3246 "When less than X space left, start code cache cleaning") \ | |
3247 \ | |
3248 product(uintx, CodeCacheFlushingFraction, 2, \ | |
3249 "Fraction of the code cache that is flushed when full") \ | |
3250 \ | 3245 \ |
3251 /* interpreter debugging */ \ | 3246 /* interpreter debugging */ \ |
3252 develop(intx, BinarySwitchThreshold, 5, \ | 3247 develop(intx, BinarySwitchThreshold, 5, \ |
3253 "Minimal number of lookupswitch entries for rewriting to binary " \ | 3248 "Minimal number of lookupswitch entries for rewriting to binary " \ |
3254 "switch") \ | 3249 "switch") \ |