Skip to content

Commit

Permalink
[BUILD] Randomly enable AggressiveOpts in builds
Browse files Browse the repository at this point in the history
  • Loading branch information
s1monw committed Sep 9, 2014
1 parent 38d88b2 commit 64dce61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dev-tools/build_randomization.rb
Expand Up @@ -50,7 +50,8 @@
'tests.jvm.argline' => [
{:choices => ['-server'], :method => 'get_random_one'},
{:choices => ['-XX:+UseConcMarkSweepGC', '-XX:+UseParallelGC', '-XX:+UseSerialGC', '-XX:+UseG1GC'], :method => 'get_random_one'},
{:choices => ['-XX:+UseCompressedOops', '-XX:-UseCompressedOops'], :method => 'get_random_one'}
{:choices => ['-XX:+UseCompressedOops', '-XX:-UseCompressedOops'], :method => 'get_random_one'},
{:choices => ['-XX:+AggressiveOpts'], :method => 'get_50_percent'}
],

'es.node.mode' => {:choices => ['local', 'network'], :method => 'get_random_one'},
Expand Down Expand Up @@ -283,7 +284,7 @@ def get_env_matrix(jdk_selection, selections)
s = {}
selections.each do |k, v|
if(v.size > 1)
s[k] = v.join(' ') #this should be dependent on class of v[0] and perform reduce operation instead... good enough for now
s[k] = v.compact.join(' ') #this should be dependent on class of v[0] and perform reduce operation instead... good enough for now
else
s[k] = v.first
end
Expand Down

0 comments on commit 64dce61

Please sign in to comment.