Tue, 22 Apr 2014 11:10:12 +0200 8040792: G1: Memory usage calculation uses sizeof(this) instead of sizeof(classname)
tschatzl [Tue, 22 Apr 2014 11:10:12 +0200] rev 24108
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
(0) -10000 -3000 -1000 -300 -100 -30 -10 -1 +1 +10 +30 +100 +300 +1000 +3000 +10000 +30000 tip