Similar to jsc's implementation, this is needed to restrict the
amount of local references in a given jni frame. Once the frame is
popped from the stack, all local references are cleaned.
Created attachment 60356 [details]
Should the LOGV be removed from JavaInstanceV8.cpp as well?
Created attachment 60364 [details]
Comment on attachment 60364 [details]
This change is taxing the boundaries of my understanding of Java. Ideally, the ChangeLog would contain more information to help folks understand what problem is being solved and how this patch goes about solving them. I'm hesitating to R+ this change, but on balance, it seems like the right thing to do.
+ No new tests.
+ #define NUM_LOCAL_REFS 64
Where does this number come from?
Committed r62650: <http://trac.webkit.org/changeset/62650>