summaryrefslogtreecommitdiff
path: root/compiler/llvm/compiler_llvm.cc
diff options
context:
space:
mode:
author Mathieu Chartier <mathieuc@google.com> 2013-08-20 17:43:47 -0700
committer Mathieu Chartier <mathieuc@google.com> 2013-08-21 15:45:33 -0700
commit2775ee4f82dff260663ca16adddc0b15327aaa42 (patch)
treed3c5bd75af01738e5f00459c308a5133a6de321f /compiler/llvm/compiler_llvm.cc
parent4aa48fccbd3782d78207a79541b61948a066b8fc (diff)
Add more runtime options.
Changed HeapGCThreads to be split into two different options: -XX:ParallelGCThreads: Which specifies how many threads the GC may use when the mutators are suspended. -XX:ConcGCThreads: Which specifies how many threads the GC may use when the mutators are running. Added runtime options to specify long pause / long GC thresholds: -XX:LongPauseThreshold (default 5ms) -XX:LongGCThreshold (default 100ms) These thresholds were previously constants, but are now runtime options. If we exceed either of the thresholds, we print the GC message. Added a new runtime option: -XX:IgnoreMaxFootprint which makes it that the GC only does GC when the number of bytes allocated hits the growth limit. This causes GC to occur much less frequently and can be useful to measure how much of an impact GC has on performance. Changed the GC behaviour to use only one thread when we do not care about pauses to prevent jank that can be caused by 2 simultaneous GC on different processes fighting for CPU time. Added thread pool functionality for changing the maximum number of active workers. Fixed an accounting error where we didn't count large objects in the total freed. Bug: 9986416 Change-Id: I86afa358d93dcd3780e18ac5d85bdb1a130cb7e7
Diffstat (limited to 'compiler/llvm/compiler_llvm.cc')
0 files changed, 0 insertions, 0 deletions