Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
-
None
Description
In byte monitor there's a problem when using ObjectSizeCalculator. See the stacktrace for details. I think we should replace it.
Caused by: java.lang.ExceptionInInitializerError at jdk.nashorn.internal.ir.debug.ObjectSizeCalculator.getObjectSize(ObjectSizeCalculator.java:122) at org.apache.beam.sdk.testutils.metrics.ByteMonitor.processElement(ByteMonitor.java:42) Caused by: java.lang.UnsupportedOperationException: ObjectSizeCalculator only supported on HotSpot VM