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 212064 - LowPerformance took 18163 ms.
Summary: LowPerformance took 18163 ms.
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Embedded Browser (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords: PERFORMANCE
: 213759 214372 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-04 09:06 UTC by John Jullion-ceccarelli
Modified: 2012-08-22 11:26 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 187652


Attachments
nps snapshot (45.34 KB, application/nps)
2012-05-04 09:06 UTC, John Jullion-ceccarelli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Jullion-ceccarelli 2012-05-04 09:06:27 UTC
This issue was reported manually by musilt2.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build EaselCSS-164-on-20120416)
VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Windows 7

User Comments:
johnjullion: opening javafx embedded browser for the first time with generic responsive template from Initializr site.

johnjullion: inspect page on same html file in internal javafx browser



Maximum slowness yet reported was 25507 ms, average is 21835
Comment 1 John Jullion-ceccarelli 2012-05-04 09:06:33 UTC
Created attachment 119069 [details]
nps snapshot
Comment 2 Petr Jiricka 2012-05-04 09:59:15 UTC
18 seconds is a really long time -> P2.
Comment 3 Jan Stola 2012-05-04 10:46:59 UTC
AWT thread is blocked by class-loading. It seems to be an unfortunate consequence of JDK bug 6826789. SecureClassLoader is using URL.equals() and URL.hashCode() that can be very slow because they perform DNS lookup. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6826789 for details.

I doubt that we can do anything with that since we cannot avoid class loading from event-dispatch thread.
Comment 4 Stanislav Aubrecht 2012-06-18 13:12:02 UTC
*** Bug 214372 has been marked as a duplicate of this bug. ***
Comment 5 Stanislav Aubrecht 2012-06-25 14:09:15 UTC
*** Bug 213759 has been marked as a duplicate of this bug. ***
Comment 6 Petr Jiricka 2012-08-21 13:38:02 UTC
This bug is now also tracked on the JavaFX side as http://javafx-jira.kenai.com/browse/RT-22458.

But since we are using the embedded server now in the IDE, rather than opening the files directly from the filesystem, isn't this fixed? Can anyone still reproduce? I haven't seen this since the embedded server has been implemented.
Comment 7 Petr Jiricka 2012-08-22 11:26:44 UTC
Closing as FIXED, reopen if still reproducible.