Mercurial > hg > icedtea6
changeset 2979:f9540cbade1e
PR1339: Simplify the rewriter, avoiding concurrency.
2013-03-11 Andrew John Hughes <gnu.andrew@member.fsf.org>
PR1339: Simplify the rewriter, avoiding concurrency.
* rewriter/com/redhat/rewriter/ClassRewriter.java:
Always use the single threaded executor.
* NEWS: Updated with this and previous fix.
author | Andrew John Hughes <gnu.andrew@redhat.com> |
---|---|
date | Tue, 16 Apr 2013 17:11:46 +0100 |
parents | ef687bd533e2 |
children | ab418eb1e664 |
files | ChangeLog NEWS rewriter/com/redhat/rewriter/ClassRewriter.java |
diffstat | 3 files changed, 12 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Apr 16 17:08:54 2013 +0100 +++ b/ChangeLog Tue Apr 16 17:11:46 2013 +0100 @@ -1,3 +1,10 @@ +2013-03-11 Andrew John Hughes <gnu.andrew@member.fsf.org> + + PR1339: Simplify the rewriter, avoiding concurrency. + * rewriter/com/redhat/rewriter/ClassRewriter.java: + Always use the single threaded executor. + * NEWS: Updated with this and previous fix. + 2013-04-16 Andrew John Hughes <gnu.andrew@redhat.com> PR1338: Remove dependence on libXp
--- a/NEWS Tue Apr 16 17:08:54 2013 +0100 +++ b/NEWS Tue Apr 16 17:11:46 2013 +0100 @@ -24,6 +24,8 @@ - PR1318: Fix automatic enabling of the Zero build on non-JIT architectures which don't use CACAO or JamVM. - RH902004: very bad performance with E-Porto Add-In für OpenOffice Writer installed (hs23 only) - PR1362: Fedora 19 / rawhide FTBFS SIGILL + - PR1338: Remove dependence on libXp + - PR1339: Simplify the rhino class rewriter to avoid use of concurrency New in release 1.12.4 (2013-03-04):
--- a/rewriter/com/redhat/rewriter/ClassRewriter.java Tue Apr 16 17:08:54 2013 +0100 +++ b/rewriter/com/redhat/rewriter/ClassRewriter.java Tue Apr 16 17:11:46 2013 +0100 @@ -60,8 +60,8 @@ /** * The executor for submitting rewriting jobs. */ - private static final ExecutorService executor = DEBUG ? - Executors.newSingleThreadExecutor() : Executors.newCachedThreadPool(); + private static final ExecutorService executor = + Executors.newSingleThreadExecutor(); /** * The source directory, set once by main. @@ -290,4 +290,4 @@ return null; } -} \ No newline at end of file +}