[Bug java/58669] does not detect all cpu cores/threads

2013-10-09 Thread folkert at vanheusden dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58669 --- Comment #3 from Folkert van Heusden --- Did some googling and with appropriate #ifdefs it should be at least on linux possible to retrieve this value: sysconf(_SC_NPROCESSORS_ONLN); If that function can't figure it out, it will return '1' wh

[Bug java/58669] New: does not detect all cpu cores/threads

2013-10-09 Thread folkert at vanheusden dot com
Assignee: unassigned at gcc dot gnu.org Reporter: folkert at vanheusden dot com Created attachment 30970 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=30970&action=edit example code When a java program compiled with gcj asks how many processing units are in the sys