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 240270 - Detaching IO from javac thread during scan decreases scanning time
Summary: Detaching IO from javac thread during scan decreases scanning time
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 8.0
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-11 12:08 UTC by Tomas Zezula
Modified: 2014-01-13 02:15 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2014-01-11 12:08:38 UTC
The javac does IO synchronously. NB 7.2 added a support for fetching sources asynchronously which improved the speed of java scanning.
Adding support for asynchronous emitting of class files will improve the scan.
Comment 1 Tomas Zezula 2014-01-11 12:10:19 UTC
scanning of java.editor + dependencies:
    synchronous emit 4:46
    asynchronous emit: 3:57
Comment 2 Tomas Zezula 2014-01-11 12:14:34 UTC
Fixed jet-main 13a48ea4f66b
Comment 3 Quality Engineering 2014-01-13 02:15:48 UTC
Integrated into 'main-silver', will be available in build *201401130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/13a48ea4f66b
User: Tomas Zezula <tzezula@netbeans.org>
Log: #240270:Detaching IO from javac thread during scan decreases scanning time