google / google/caliper

Make sure @Param("") and empty params from command line work correctly

Open
#148 0 comments 0 reactions 0 assignees View on GitHub
component: runner P4 type=defect
Dominant language
Java
Stars
818
Forks
112
Avg merge
12m
Merged PRs (30d)
5

Description

```
What steps will reproduce the problem?
1. Create a Benchmark with a field annotated @VmParam["", "-Dfoo=true"]
2. Run benchmark

What is the expected output? What do you see instead?

I'd expect it to succeed. It reports that it got no response from the worker,
sometimes with an error log saying that it cannot create a JVM and sometimes
without any error. It'd be nice to be able to have a VmParam not have to pass
an argument for some cases (e.g. "-XX:+UseG1GC").

The current work-around is to set -Dadhfajlsdhfasd=dlfkasdfasdfhasl instead of
the empty VM parameter.

What version of the product are you using? On what operating system?

HEAD on OS-X
```

Original issue reported on code.google.com by `Smokejum...@gmail.com` on 30 Jan 2012 at 4:35

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.