smagellan / oktech-profiler

Automatically exported from code.google.com/p/oktech-profiler
0 stars 0 forks source link

Configuration options are ignored and default sampling interval is used (50ms) #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. java  -
javaagent:hu.oktech.profiler.jar=sampling.millis=10000,dumper.sampling.millis=15
000,output.f
ile=dump SomeJavaApp
2. ls -l dump; ls -l dump

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

dump file should only grow every 15 seconds. Instead, it's updated continuously 
(default 
sampling interval is used)

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

1.0 on OsX 10.5.7

Please provide any additional information below.

The bug is in  AbstractTimer.getProperty(...)  line 45
instead of
    if (prop.contains(key))
should be
  if (prop.containsKey(key))

Original issue reported on code.google.com by theonlya...@gmail.com on 20 Aug 2009 at 8:29

GoogleCodeExporter commented 9 years ago
Thanks for the report, the SVN will be updated soon, and there will be an 1.0.1 
bugfix release with this issue 
fixed.

Original comment by istvan.s...@gmail.com on 21 Aug 2009 at 9:34