Mercurial > hg > truffle
comparison test/compiler/6934604/TestFloatBoxing.java @ 20218:828056cf311f
8040792: G1: Memory usage calculation uses sizeof(this) instead of sizeof(classname)
Summary: A few locations in the code use sizeof(this) which returns the size of the pointer instead of sizeof(classname) which returns the size of the sum of its members. This change fixes these errors and adds a few tests.
Reviewed-by: mgerdin, brutisso
author | tschatzl |
---|---|
date | Mon, 21 Jul 2014 09:40:19 +0200 |
parents | 6f3fd5150b67 |
children |
comparison
equal
deleted
inserted
replaced
20217:6b52700a896b | 20218:828056cf311f |
---|