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.
Product Version: NetBeans IDE Dev (Build 201111100600) Java: 1.7.0; Java HotSpot(TM) Client VM 21.0-b18 System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb) Empty memory snapshot is taken if the take snapshot action is invoked soon after start of application. Steps: memory profile anagram game -> (do NOT have live results window open) invoke take snapshot action from profiler control panel just after the anagram game window is shown (to be certain that there actually are some data to be shown) -> empty memory snapshot
ProfilerClient.getMemoryProfilingResultsSnapshot() is over-synchronized - it prevents the snapshot data having been processed before generating the snapshot. This method is called from UI only so I am relaxing the synchronization and hoping that noone will have fast enough fingers to cause some data races. Fixed in http://hg.netbeans.org/profiler-main/rev/9798b56c448f
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/9798b56c448f User: Jaroslav Bachorik <yardus@netbeans.org> Log: #204977: ProfilerClient.getMemoryProfilingResultsSnapshot() is over-synchronized - it prevents the snapshot data having been processed before generating the snapshot. This method is called from UI only so I am relaxing the synchronization and hoping that noone will have fast enough fingers to cause some data races.