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

folkert at vanheusden dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 9 15:54:00 GMT 2013


            Bug ID: 58669
           Summary: does not detect all cpu cores/threads
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
          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
system, it always returns 1.

folkert@belle:~$ cat test2.java
class test2 {
        public static void main(String [] args) {
                System.out.println("" +
folkert@belle:~$ javac test2.java
folkert@belle:~$ java test2
folkert@belle:~$ gcj --main=test2 test2.java
folkert@belle:~$ ./a.out

More information about the Java-prs mailing list