linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Kaffe from cvs and some patches
@ 2000-07-24 12:44 Hendricks, Kevin
  0 siblings, 0 replies; 3+ messages in thread
From: Hendricks, Kevin @ 2000-07-24 12:44 UTC (permalink / raw)
  To: linuxppc-dev


Hi,

I built kaffe cvs using the cvs version of libffi and basicly it compiles
but does not really run any truly multi-threadsed apps (see
test/regressions/ThreadLocalTest.java for instance).

So I threw out libffi and threw back in my old sysdepCallMethod routine I
wrote for ppc back when kaffe first came out,  added a stack alignment
constraint to 16 to the jthreads code, and a few other very minor build
changes to get it to build with complete shared libs.

Kaffe now successfully runs the Cafeinemark 3 benchmark.

I anyone want these changes, please let me know.  I can't commit these
changes to kaffe since I am contaminated by seeing the JDK, however these
chnages all all ppc kaffe specific and have nothing whatsoever to do with
the jdk.

If anyone out there is helping kaffe, and wants my changes, please let me know.

Thanks,

Kevin

--
Kevin B. Hendricks, Associate Professor of Operations and Information
Technology
Richard Ivey School of Business, University of Western Ontario
London, Ontario  N6A-3K7  CANADA
khendricks@ivey.uwo.ca, (519) 661-3874, fax: 519-661-3959


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Kaffe from cvs and some patches
@ 2000-07-30 20:40 Anthony Green
  2000-07-30 22:54 ` hendricks
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony Green @ 2000-07-30 20:40 UTC (permalink / raw)
  To: 'khendricks@ivey.uwo.ca'
  Cc: 'linuxppc-dev@lists.linuxppc.org'


Kevin wrote:
> I built kaffe cvs using the cvs version of libffi and basicly it compiles
but
> does not really run any truly multi-threadsed apps
> (see test/regressions/ThreadLocalTest.java for instance).

libffi itself is thread safe.  I suspect that Kaffe is using it incorrectly.
 Do you (or anyone else) know what the problem is?

AG


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Kaffe from cvs and some patches
  2000-07-30 20:40 Kaffe from cvs and some patches Anthony Green
@ 2000-07-30 22:54 ` hendricks
  0 siblings, 0 replies; 3+ messages in thread
From: hendricks @ 2000-07-30 22:54 UTC (permalink / raw)
  To: green@cygnus.com
  Cc: 'khendricks@ivey.uwo.ca',
	'linuxppc-dev@lists.linuxppc.org'


Hi Anthony,

If you are interested in kaffe, Godmar committed my changes and it
should build just fine under cvs.

I also built it using unix-pthreads (native linuxthreads) and it also
seems to work well (with a few minor build modifications).

As for libffi,I was using the cvs version 2.X.  As for threadsafety, I
am not sure that is the issue at all.

Given the sysdepCallMethod now exists for ppc, it should improve
performance over libffi (simply less overhead) (if you can get libffi to
work).


Try a cvs checkout of kaffe, it should build and work with both
unix-jthreads and unix-pthreads.

Kevin


Anthony Green wrote:
>
> Kevin wrote:
> > I built kaffe cvs using the cvs version of libffi and basicly it compiles
> but
> > does not really run any truly multi-threadsed apps
> > (see test/regressions/ThreadLocalTest.java for instance).
>
> libffi itself is thread safe.  I suspect that Kaffe is using it incorrectly.
>  Do you (or anyone else) know what the problem is?
>
> AG

--

--
Kevin B. Hendricks
Associate Professor of Operations and Information Technology
Richard Ivey School of Business, University of Western Ontario
London, Ontario  N6A-3K7  CANADA
khendricks@ivey.uwo.ca, (519) 661-3874, fax: 519-661-3959

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-07-30 22:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-30 20:40 Kaffe from cvs and some patches Anthony Green
2000-07-30 22:54 ` hendricks
  -- strict thread matches above, loose matches on Subject: below --
2000-07-24 12:44 Hendricks, Kevin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).