hipe_mfait_lock

Louis-Philippe Gauthier <[email protected]>
Newsgroups gmane.comp.lang.erlang.bugs
Message-ID <CAGvQrRg1Gc3zhqGikpL3UBV16_hf88FqT9u+Vn7N6Bd4cDVq6w@mail.gmail.com>
Hi erlang-bugs,
I couple of months ago I tried running our full application using HiPE. I
ran into several issues, some manageable, some not... The most problematic
issue was due to locking, specifically, the hipe_mfait_lock (you can see
the lock counter output in the gist bellow).

https://gist.github.com/lpgauth/2b3220f4bceeed6f62d0

Looking at the code it's obvious that this is a known problem... the
following comment was added when the lock was added in 2010.

"XXX: Redesign apply et al to avoid those updates."
https://github.com/erlang/otp/blob/maint/erts/emulator/hipe/hipe_bif0.c#L1218

Unfortunately, I'm don't know the runtime enough to start patching it... so
instead I'm reporting it.

Thanks,
LP

_______________________________________________
erlang-bugs mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-bugs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.