[Mono-dev] ConcurrentQueue<T> issues (repros)

Greg Young gregoryyoung1 at gmail.com
Tue Sep 25 14:30:47 UTC 2012


>From previous tests.


Mono JIT compiler version 2.11.5 (master/3e19969 Tue Sep 25 17:24:10 EEST 2012)
Copyright (C) 2002-2012 Novell, Inc, Xamarin Inc and Contributors.
www.mono-project.com
	TLS:           __thread
	SIGSEGV:       altstack
	Notifications: epoll
	Architecture:  amd64
	Disabled:      none
	Misc:          softdebug
	LLVM:          supported, not enabled.
	GC:            Included Boehm (with typed GC and Parallel Mark)


Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance
of an object
  at System.Collections.Concurrent.ConcurrentQueue`1[System.Object].TryDequeue
(System.Object& result) [0x00000] in <filename unknown>:0
  at ConsoleApplication1.Program+<TestMonoConcurrentQueueReference>c__AnonStorey1.<>m__0
(System.Object x) [0x00000] in <filename unknown>:0
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException:
Object reference not set to an instance of an object
  at System.Collections.Concurrent.ConcurrentQueue`1[System.Object].TryDequeue
(System.Object& result) [0x00000] in <filename unknown>:0
  at ConsoleApplication1.Program+<TestMonoConcurrentQueueReference>c__AnonStorey1.<>m__0
(System.Object x) [0x00000] in <filename unknown>:0
  at System.Threading.Thread.StartInternal () [0x00000] in <filename unknown>:0
greg at ouroboros:~/src/retrospective/research/ccqueuetest/ConsoleApplication1/bin/

On Tue, Sep 25, 2012 at 5:00 PM, Konrad M. <kkruczynski at antmicro.com> wrote:
> On Tue, 2012-09-25 at 16:57 +0300, Greg Young wrote:
>> reviewing commits
>>
>> object pool is DEAD! and I don't mean 57005 :)
>>
>
> Btw, some tests I did with and without object pool (by reverting
> introducing commit) showed that with SGEN it actually made things
> slower, therefore it is better option also from this point.
>
> --
> Regards,
>  Konrad
>



-- 
Le doute n'est pas une condition agréable, mais la certitude est absurde.


More information about the Mono-devel-list mailing list