[Bug libobjc/47012] nonatomic Properties behave wrong

2010-12-21 Thread nicola at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47012 --- Comment #9 from Nicola Pero 2010-12-21 11:38:56 UTC --- Sure, go ahead and create a bug for it. We can make the change for 4.6 if we make it safe. By the way, changing configure.ac is not a problem, we can do that, particularly if it makes

[Bug libobjc/47012] nonatomic Properties behave wrong

2010-12-21 Thread js-gcc at webkeks dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47012 --- Comment #8 from js-gcc at webkeks dot org 2010-12-21 11:26:37 UTC --- Hm, a mutex can be a real problem there, I guess. Accessors are used all the time, having a kernel lock each time will be a giant slowdown, especially as most of the time,

[Bug libobjc/47012] nonatomic Properties behave wrong

2010-12-21 Thread nicola at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47012 --- Comment #7 from Nicola Pero 2010-12-21 10:56:33 UTC --- Yes, I'll visit Fosdem - let's meet up there. > In the code you linked, is that objc_mutex_t a spinlock? If not, > this might be performance problem. You are right, it's a normal lock.

[Bug libobjc/47012] nonatomic Properties behave wrong

2010-12-19 Thread js-gcc at webkeks dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47012 --- Comment #6 from js-gcc at webkeks dot org 2010-12-19 19:19:33 UTC --- Well, I did not plan to get that included in 4.6. If you are interested in optimizing the lookup: The lookup could be greatly improved if we also change the ABI, which is

[Bug libobjc/47012] nonatomic Properties behave wrong

2010-12-19 Thread nicola at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47012 Nicola Pero changed: What|Removed |Added Status|NEW |RESOLVED Resolution|

[Bug libobjc/47012] nonatomic Properties behave wrong

2010-12-19 Thread nicola at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47012 --- Comment #4 from Nicola Pero 2010-12-19 19:12:33 UTC --- Yes, I was actually thinking about this, and you're right - it makes sense not to use retain/autorelease! ;-) 'nonatomic' means that other threads are not involved. Which also means th

[Bug libobjc/47012] nonatomic Properties behave wrong

2010-12-19 Thread nicola at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47012 --- Comment #3 from Nicola Pero 2010-12-19 19:10:29 UTC --- Author: nicola Date: Sun Dec 19 19:10:26 2010 New Revision: 168070 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=168070 Log: In libobjc/: 2010-12-19 Nicola Pero PR libob

[Bug libobjc/47012] nonatomic Properties behave wrong

2010-12-19 Thread js-gcc at webkeks dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47012 --- Comment #2 from js-gcc at webkeks dot org 2010-12-19 18:49:39 UTC --- Hi Nicola, yes, I do remember our talk at FOSDEM and I plan to attend it next year again, since I unfortunately could not attend it this year. Well, I guess it's not real

[Bug libobjc/47012] nonatomic Properties behave wrong

2010-12-19 Thread nicola at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47012 Nicola Pero changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|