RFR: 8187033: [PPC] Imporve performance of ObjectStreamClass.getClassDataLayout()
OGATAK at jp.ibm.com
Thu Sep 21 09:39:58 UTC 2017
> If you could extract from
> the benchmark just the approximate shape of the data structure and
> typical values it contains, I could create a JMH benchmark that tests
> just that part. Which would be appropriate to tune serialization code.
My colleague investigated the objects serialized/deserialized in the
benchmark. He found there are several types of object trees, and one of
the largest object tree looks like (in Scala types):
Now the question is how the Java classes (including class hierarchy) look
like because Scala types may need extra boxing/unboxing (though I'm not
confident). I'll try to decompile .class files generated from the scala
code and find the real Java types.
More information about the core-libs-dev