google / google/caliper

-XX:CICompilerCount=2 vmOption does not apply

Open
#400 0 comments 0 reactions 0 assignees View on GitHub
P3
Dominant language
Java
Stars
818
Forks
112
Avg merge
12m
Merged PRs (30d)
5

Description

It's a known bug that since one of the build from Java 8 Tiered Compiler is turned on by default. And running benchmark without `@VmOptions({"-XX:-TieredCompilation"})` will cause below error:

> [stderr] CICompilerCount of 1 is invalid; must be at least 2

Turning off TieredCompilation is not desirable in benchmark. I tried adding `@VmOptions({":CICompilerCount=2"})`. But error "CICompilerCount of 1" persists.

Please advise how do I work this around without having to reset tiered compilation?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.