Rémi Forax wrote: [...]
For more details see http://wiki.jvmlangsummit.com/DinnerAtPiatti (search for section invalidation)
true I fully forgot about invalidation... so how would I do it? most probably a boolean in the call site that is not volatile and gets flagged from outside if a meta class change happened. On each usage of the call site this flag would be checked to see if the call site is still valid.
The fear I have here is that we need to store the call sites in a way that I can access. With invokedynamic this is one thing, without, it is a entirely different matter. Without invokedynamic I have to maintain a list of call sites with each entry being removable from memory once needed. Currently this kind of structure is in the class itself. If the class collected, the call site is along with it. If I need global call site entries I have two points referencing call sites. Well, I can work using phantom references I guess.
I should try it out at least. bye blackdrag -- Jochen "blackdrag" Theodorou The Groovy Project Tech Lead (http://groovy.codehaus.org) http://blackdragsview.blogspot.com/ -- You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en.
