This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The method AppStatusHandler.resultsAvailable() is sometimes not called during profiling on a machine with solaris on intel. Automated tests usually start to measure an application after the method is called.
I've seen it on linux machine too.
Can you specify the profiling settings? Is it specific to certain settings only?
I have seen it with such settings last time: (it occures with all instr. schemes) profiler.settings.code.region.cpu.res.buf.size = 1000 profiler.settings.cpu.profiling.type = CPU_INSTR_FULL profiler.settings.exclude.wait.time = true profiler.settings.instr.scheme = * profiler.settings.instrument.empty.methods = false profiler.settings.instrument.method.invoke = true profiler.settings.instrument.spawned.threads = true profiler.settings.instrumentation.filter.string = profiler.settings.instrumentation.filter.type = INCLUSIVE profiler.settings.instrumentation.root.methods.size = 1 profiler.settings.istrument.getter.setter.methods = false profiler.settings.istrumentation.root.methods- = simple/cpu/WaitingTest.main([Ljava/lang/String;)V profiler.settings.n.profiled.threads.limit = 32 profiler.settings.obj.alloc.stack.sampling.depth = -5 profiler.settings.obj.alloc.stack.sampling.interval = 10 profiler.settings.override.jvm.args = profiler.settings.override.port.no = 5140 profiler.settings.run.gc.on.get.results.in.memory.profiling = false profiler.settings.sampling.interval = 10 profiler.settings.sort.results.by.thread.cpu.time = false profiler.settings.thread.cpu.timer.on = false
Added debug println if -Dcom.sun.tools.profiler.server.ProfilerServer=true is passed to the profiled VM, please run tomorrow's daily build with this. The agent should print a message when the results become available on the server.
Is it still valid?
there do not run any tests for profiler now, you can close it.
closing as wontfix, the issue is old and the tests are not running now
verified closed