On 02/07/2013 10:31 AM, Eugene Burmako wrote:
synchronized(this) implicitly emitted by lazy val codegen provides an excellent opportunity for deadlocks.
not so easy.
https://issues.scala-lang.org/browse/SUGGEST-11
--
You received this message because you are subscribed to the Google Groups "scala-internals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-internals+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Yes, definitions are the part of the problem. Do you remember why exactly he failed?
On 7 February 2013 11:30, Hubert Plociniczak <hubert.pl...@epfl.ch> wrote:
I don't know much what's going on in JavaUniverse but won't you have the same problems like in Definitions?
I think Paul or someone else wanted to do s/lazy val/def there and failed.
On 02/07/2013 10:42 AM, Eugene Burmako wrote:
So far I have only one idea - explicitly force initialization of all
lazy stuff in JavaUniverse.init. Very tedious, but at least that will
make deadlocks impossible.
On Feb 7, 10:32 am, Eugene Burmako <eugene.burm...@epfl.ch> wrote:
The same questions goes to local objects.
On Feb 7, 10:31 am, Eugene Burmako <eugene.burm...@epfl.ch> wrote:
synchronized(this) implicitly emitted by lazy val codegen provides an
excellent opportunity for deadlocks.
--
You received this message because you are subscribed to the Google Groups "scala-internals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-interna...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "scala-internals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-interna...@googlegroups.com.
I think Paul or someone else wanted to do s/lazy val/def there and failed.
So far I have only one idea - explicitly force initialization of all
lazy stuff in JavaUniverse.init. Very tedious, but at least that will
make deadlocks impossible.
On Feb 7, 10:32 am, Eugene Burmako <eugene.burm...@epfl.ch> wrote:
> The same questions goes to local objects.
>
> On Feb 7, 10:31 am, Eugene Burmako <eugene.burm...@epfl.ch> wrote:
>
>
>
>
>
>
>
> > synchronized(this) implicitly emitted by lazy val codegen provides an
> > excellent opportunity for deadlocks.
--
You received this message because you are subscribed to the Google Groups "scala-internals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scala-interna...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Mostly initialization order issues, since they are a part of a big cake with non-linear initialization control flow. Definitions in Definitions.scala are lazy probably because of symbol initialization issues.