DescriptionSmall improvements to JNI references.
Add a move constructor and move assignment operator to local, global and
weak references to reduce reference churn (saves a small number of bytes).
Allow weak references to be constructed from JavaRef.
Replace NULL with nullptr in jni_weak_ref code.
BUG=
Committed: https://crrev.com/c6bc15dbab488636bb2f2ddff615ffacfc50c5a8
Cr-Commit-Position: refs/heads/master@{#414444}
Patch Set 1 #Patch Set 2 : Learn about, and then fix, the most vexing parse. :) #
Messages
Total messages: 13 (6 generated)
|