Skip to content
Snippets Groups Projects
Commit ba96d731 authored by Glauber Costa's avatar Glauber Costa Committed by Pekka Enberg
Browse files

balloon: protect against ill-sized moves


Carl noticed that it is legal for a java program (think for instance, somebody
using JNI), to move stuff manually from the middle of the balloon. In that case,
we would have a move that is smaller than the size of the object. We haven't put
much tought on how to handle this case - if at all. But it is certainly better
to fault there than to have a silent weird behaviour.

Reviewed-by: default avatarNadav Har'El <nyh@cloudius-systems.com>
Signed-off-by: default avatarGlauber Costa <glommer@cloudius-systems.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent 2d5107f6
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment