This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/50845] New: java.util.concurrent.ThreadPoolExecutor do not work with core thread=0
- From: "lsching17 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Oct 2011 06:27:32 +0000
- Subject: [Bug libgcj/50845] New: java.util.concurrent.ThreadPoolExecutor do not work with core thread=0
- Auto-submitted: auto-generated
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.