Opened 14 years ago

Closed 14 years ago

#89 closed defect (invalid)

OpenJDK 6 JRE (SMP Friendly) tries to use both cpus in my dualcore system

Reported by: losepete Owned by:
Priority: Feedback Pending Milestone:
Component: general Version: 1.6.0-b19 RC
Severity: low Keywords:
Cc:

Description

I recently downloaded and installed JPhotoBrush http://www.jphotobrushpro.com to show my son, who uses PhotoShop, that there are alternatives to the M$ world.

I have the "SMP friendly" version of java6 installed from ftp://ftp.netlabs.org/pub/java/openjdk6_b19_rc/openjdk6_b19_jre_os2_rc-20110221_mpunsafe.zip and understood that it should only work on 1 cpu.

However, when running JPhotoBrush I see both cpus are in use - and trying to open files simply does not work, the cpus peak and after a short period of time when it is obvious that the app has got problems it is necessary to kill the app.

Change History (2)

comment:1 by dmik, 14 years ago

Priority: majorFeedback Pending

I just tried JPhotoBrush 1.3 on my system (eCS 2.0) with OpenJDK RC2 and it works well, no symptoms you described. Note however that I use ACPI.SYS in UNI mode (no /SMP switch in CONFIG.SYS) which may make the difference. You understand it right, the MPUNSAFE flag should cause the OS/2 scheduler to stick the execution of process threads to a single CPU. I don't know why it works differently on your system.

Please try to disable SMP mode and report the results.

comment:2 by dmik, 14 years ago

Resolution: invalid
Status: newclosed

No feedback for too long. Irrelevant after fixing the SMP issue anyway. Closing.

Note: See TracTickets for help on using tickets.