Hi Marco - yes, you found a timing bug!  It's actually unrelated to native
vs managed X10, or to the resilient mode, but on your system it appears
that these things changed the timing enough to hit the issue.

There is a 'when' in the Team.LocalTeamState.init() method, which used to
have a corresponding 'atomic' in Team.this(PlaceGroup).  The 'atomic' was
invalid and removed over a year ago, but the 'when' was never changed.
Thanks for finding the issue - I have delivered a fix for it in r29428.


   - Ben



From:   Marco Bungart <m.bung...@gmx.net>
To:     Mailing list for users of the X10 programming language
            <x10-users@lists.sourceforge.net>
Date:   05/09/2015 08:49 AM
Subject:        [X10-users] Calling new Team(pg) does not always terminate



Hi there,

I think I found a bug. I was only able to reproduce the behaviour
described below with native X10. Managed X10 terminated always as expected.

If you call "new Team(pg)" with pg being a custom PlaceGroup (see code
attached), the call to this constructor does not always terminate. As
you can see, I tested with Resiliency and
Place.places().filterDeadPlaces(), as well as without Resiliency (by
explicitly unsetting X10_RESILIENT_MODE) and a SparsePlaceGroup.

With the first example (crashing a place and calling
.filterDeadPlaces()), it is easier to reproduce this behaviour (~ 1 in
10 runs). The second example takes roughly 30 runs to hang once.

I tested with Oracle Java 1.8.0 U45, gcc 4.8.2 and X10 Revision 29421.

Cheers and have a nice weekend,
Marco
[attachment "ReduceExample.x10" deleted by Benjamin Herta/Watson/IBM]
------------------------------------------------------------------------------

One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to