• Dave Hawkey's avatar
    Don't reset cachedSize to 0 in getSerializedSize · 5090f19e
    Dave Hawkey authored
    This avoids a race-condition when cachedSize is momentarily set to 0
    for non-empty messages if multiple threads call getSerializedSize
    (e.g. during serialization).
    
    Change-Id: I15a8ded92edbf41bf1c8d787960c5bbbc8a323c5
    5090f19e
Name
Last commit
Last update
java Loading commit data...
src/google/protobuf Loading commit data...
Android.mk Loading commit data...