How does one turn on/off GC?

On Dec 21, 2007, at   Dec 21, 2007  |  10:23 AM, Kevin Quennesson wrote:

Sorry if I wasn't clear.

The crash is in Core Image, so please file a bug on bugreport.apple.com against Core Image, or discuss on the CI list. You're asking for a workaround: since it is likely GC related, you might want to try to turn off GC. You'll also get maximum performances in general.

Hope that helps.

Kevin

On Dec 21, 2007, at 12:06 AM, Raphael Sebbe @ Google wrote:

Well, this problem isnt' about performance, but about crash. GC and QC are two great pieces of technology and that'd be great to have them run together, I just hope this is quite high on your list.

I guess I have 2 choices for now, move to CA rendering (which can do the kind of thing I want), or move away from GC at this time.

Thanks,

Raphael



On 20 Dec 2007, at 23:20, Kevin Quennesson wrote:

Hi,

I would recommend to hold off using GC at this time for graphics applications.

In general, you will have lower performances in GC than in non-GC because you can't control memory and your resources as efficiently. That's why for graphics application where performance is a concern, you might want to make sure that GC is really where the route you want to take. And you might also get a crash (here in Core Image).

K.


On Dec 20, 2007, at 2:10 PM, Raphael Sebbe @ Google wrote:

Hi,

I have a QCRenderer rendering in a GC app, repeatedly initiating rendering, which sometimes (quite often actually) causes a crash. Is there something I can do about this ?

Thanks,

Raphael

Program received signal:  “EXC_BAD_ACCESS”.
[Switching to process 4208 thread 0x3203]
(gdb) bt
#0  0x1ef39c12 in gldGetTextureLevel ()
#1  0x1ef39d25 in gldGetTextureLevel ()
#2  0x1efa3316 in gldGetTextureLevel ()
#3  0x1ef3a15d in gldGetTextureLevel ()
#4  0x1eec3c2d in gldAllocVertexBuffer ()
#5  0x1eea33fe in gldDestroyContext ()
#6  0x1ed0f275 in gliDestroyContext ()
#7  0x91a53453 in cglDestroyContext ()
#8  0x91a530e1 in CGLDestroyContext ()
#9  0x91bca0eb in fe_cgl_destroy_context ()
#10 0x91bca0c3 in accel_context_finalize ()
#11 0x91b69a6e in fe_release ()
#12 0x91bc9eeb in fe_accel_purge ()
#13 0x91bc9c8f in fe_context_purge ()
#14 0x91bc9c0b in fe_gl_finalize ()
#15 0x91b69a6e in fe_release ()
#16 0x91bc36f8 in -[CIOpenGLContextImpl invalidate] ()
#17 0x91bc2456 in -[CIOpenGLContextImpl setOwner:] ()
#18 0x91b9bfe6 in -[CIContext invalidate] ()
#19 0x967bbe27 in -[QCCGLContext _finalize_QCCGLContext] ()
#20 0x9687f440 in -[QCCGLContext finalize] ()
#21 0x965438fe in finalizeOneObject ()
#22 0x92aea50b in foreach_block_do ()
#23 0x96543ac3 in batchFinalize ()
#24 0x96543d8a in batchFinalizeOnTwoThreads ()
#25 0x92aeb8ce in auto_collect_internal ()
#26 0x92aec54f in auto_collection_thread ()
#27 0x9132b075 in _pthread_start ()
#28 0x9132af32 in thread_start ()
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer- [EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/ kquennesson%40apple.com

This email sent to [EMAIL PROTECTED]

-----------
Kevin Quennesson
Quartz Composer Team
Apple Inc.






 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (Quartzcomposer- [EMAIL PROTECTED])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/ jack.hayward%40comcast.net

This email sent to [EMAIL PROTECTED]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to