[java-gnome-hackers] Res: Res: Res: Symol issues with GtkBuilder
Brought to you by:
afcowie
From: Vreixo F. L. <met...@ya...> - 2011-05-30 18:04:56
|
Hi! Andrew: > > Does anybody know about some negative influence of RTLD_GLOBAL? > What I wrote in my original message is just a guess - does it consume [a > lot of] memory? Or is it just a bookkeeping thing? I think (just think) that memory is not the main problem. It is that when other libraries lookup symbols, the search also includes that library, so if, for example another library defines gtk_button_new a problem will raise. But anyway, that seems a very stupid thing to do, so I doubt there is a real implication... Guillaume: > Why did you choose to do that [G_MODULE_BIND_LAZY]? Does it save memory? I guess it saves the time to resolve the symbols at load time... > This change looks good for me now but we have to improve it. > I'm guessing that it significantly impacts the library. > Are we sure this will not cause some unwanted side effects? I think it doesn't, but no, I am not sure, maybe we can try it in a development version, if a problem appears we just revert the change. Note that I know (at least I think so) how to fix this problem without the GLOBAL thing, just by creating a custom GtkBuilder, but it is a much bigger piece of code. Cheers Vreixo |