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.

Bug 243250 - org.openide.nodes.NodeLookup.beforeLookup: LowPerformance took 29291 ms.
Summary: org.openide.nodes.NodeLookup.beforeLookup: LowPerformance took 29291 ms.
Status: RESOLVED DUPLICATE of bug 233429
Alias: None
Product: ide
Classification: Unclassified
Component: Logger (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2014-03-25 11:24 UTC by Exceptions Reporter
Modified: 2014-03-28 16:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 208676


Attachments
nps snapshot (242.46 KB, application/nps)
2014-03-25 11:25 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-03-25 11:24:57 UTC
This bug was originally marked as duplicate of bug 225357, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.51-b03, Java(TM) SE Runtime Environment, 1.7.0_51-b13
OS: Mac OS X

User Comments:
GUEST: Deleting 50 files



Maximum slowness yet reported was 29291 ms, average is 29291
Comment 1 Exceptions Reporter 2014-03-25 11:25:00 UTC
Created attachment 146301 [details]
nps snapshot
Comment 2 Ondrej Vrabec 2014-03-28 13:16:10 UTC
11 seconds spent in org.netbeans.modules.uihandler.UIHandler.publish() -> waitFlushed() while UIHandler seems busy writing in another thread.
Comment 3 Martin Entlicher 2014-03-28 16:24:23 UTC
This is reported for the same file over and over again
at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FileObj.getInputStream(FileObj.java:184)

Sorry, but this is not fixable in logger. If someone decides to flood it with tons of messages, I can either cache them in memory and cause OOME, or slow the reporter down by waiting for the write operations, or forget what I received.
Since I do not feel like I should forget anything, nor do I think I should pollute memory, I've decided to wait till it's written down.

Fortunately, this is already fixed by
http://hg.netbeans.org/core-main/rev/3cb25b68863f

*** This bug has been marked as a duplicate of bug 233429 ***