RFR 8231146: Heap object size

Aleksey Shipilev shade at redhat.com
Fri Sep 20 12:47:40 UTC 2019


On 9/17/19 10:00 PM, Roger Riggs wrote:
> In prototyping with inline classes it will be useful to know an approximation of the size of an
> object in the heap while prototyping various tradoffs in performance and data structures.

Any reason why JOL does not work?
  http://openjdk.java.net/projects/code-tools/jol/

It already calls through the existing interfaces to figure out the object size.

-- 
Thanks,
-Aleksey




More information about the valhalla-dev mailing list