On Wed, May 12, 2010 at 6:07 AM, John Rose <john.r.r...@oracle.com> wrote:

> On May 11, 2010, at 7:45 AM, Tuolin Chen wrote:
>
> > I'm new to mlvm and I'm trying to get Lukas' coro.patch to work.
> >
> > I grabbed the source and patches according to openjdk and mlvm build
> instructions. Everything is done on my laptop running Ubuntu 10.04 64bit
> version. Only coro patch is applied. Though it didn't apply cleanly with
> latest code base, the issue is minor and I fixed it by some trivial editing
> on the patch.
>
> Unless you are attempting a forward-port, the patches should only be
> attempted with the micro-version mentioned in the series file
> (patches/hotspot/series).  Currently that is 88f9b6ef43ff.  Is that the base
> you are starting with?
>

'hg log' under hotspot directory shows these at the very top:

changeset:   1431:88f9b6ef43ff
tag:         tip
user:        Greg Lewis <gle...@eyesbeyond.com>
date:        Fri Apr 23 19:11:02 2010 -0700
summary:     . Make changes to BSD to keep it in sync with Linux and/or
Solaris.

changeset:   1430:0fcfcfd6162e
parent:      1359:1e976d3fd820
parent:      1429:765578777b6e
user:        Greg Lewis <gle...@eyesbeyond.com>
date:        Mon Apr 19 20:41:10 2010 -0700
summary:     Merge from main OpenJDK repository

So I suppose I had the right revision?

Cheers,
Tuolin


> > The patched sources compiled fine, but generated a error when yielding to
> coroutine:
> >
> > # To suppress the following error report, specify this argument
> > # after -XX: or in .hotspotrc:  SuppressErrorAt=/unsafe.cpp:1229
> > #
> > # A fatal error has been detected by the Java Runtime Environment:
> > #
> > #  Internal Error
> (/home/tuolin/Projs/davinci/sources/hotspot/src/share/vm/prims/unsafe.cpp:1229),
> pid=9191, tid=140737353991952
> > #  Error: assert(current != __null,"NULL current coroutine in
> prepareSwitch")
> >
> > While debugging, the data does not appear to be corrupted. I also checked
> the sources, but failed to see the appropriate modification.
> >
> > Any help is greatly appreciated!
>
> If you are starting with the right base revision, this sounds like a
> question for Lukas.
>
> Best wishes,
> -- John
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev@openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to