Github user cloud-fan commented on a diff in the pull request:
    --- Diff: 
    @@ -65,14 +65,15 @@ public UnsafeMapData() {
        * @param sizeInBytes the size of this map's backing data, in bytes
       public void pointTo(Object baseObject, long baseOffset, int sizeInBytes) 
    -    // Read the numBytes of key array from the first 4 bytes.
    -    final int keyArraySize = Platform.getInt(baseObject, baseOffset);
    -    final int valueArraySize = sizeInBytes - keyArraySize - 4;
    +    // Read the numBytes of key array from the first 8 bytes.
    --- End diff --
    we should also update the class doc of `UnsafeMapData` to reflect this 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to