tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53492] New: Make JspC shell multithreaded
Date Sun, 01 Jul 2012 07:20:32 GMT

          Priority: P2
            Bug ID: 53492
           Summary: Make JspC shell multithreaded
          Severity: enhancement
    Classification: Unclassified
                OS: Mac OS X 10.4
          Hardware: PC
            Status: NEW
           Version: trunk
         Component: Jasper
           Product: Tomcat 7

Created attachment 29016

Jasper works great multi-threaded. Using two threads per core substantially
improves throughput on my test machine, reducing the time it takes to build
from 9 minutes to 2 minutes.

The attached patch adds a new -threadCount command-line argument to JspC, as
well as a setThreadCount setter, suitable for use in an Ant task. It accepts a
positive integer, or a core factor like "2.0C" which means two threads per
core. 2.0C is the default.

Note that on my machine it didn't help that much unless JspC was also
configured to -compile the classes.

I've attached a patch.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message