This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libgcj/50845] New: java.util.concurrent.ThreadPoolExecutor do not work with core thread=0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50845

             Bug #: 50845
           Summary: java.util.concurrent.ThreadPoolExecutor do not work
                    with core thread=0
    Classification: Unclassified
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: lsching17@gmail.com


Created attachment 25586
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25586
test case

Create a ThreadPoolExecutor with 0 core thread, maximum thread=5

submit a task to the threadpool, the task will not be runned.

The expected behaviour is that the ThreadPoolExecutor create a thread to
execute the task.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]