• Andy McFadden's avatar
    Indirect reference table implementation. · 734155ef
    Andy McFadden authored
    This change introduces the "indirect" reference table, which will be
    replacing ReferenceTable for local and global JNI references.  The key
    difference is that, instead of handing raw Object pointers to JNI, we
    will be giving them a magic value that can be converted back to an
    Object.  The goal is to avoid having to pin every object that native
    code is aware of.
    
    The code is not actually used anywhere yet.
    
    Also bundled up here:
     - added detail to a log message
     - fixed a string format issue in the internal assert() definition
     - very minor optimization in "remove" function in ReferenceTable
     - quiet a gcc complaint
     - only include the hash table regression test in builds that invoke it
    734155ef
JarFile.c 12.1 KB