--- old/src/java.desktop/share/classes/sun/java2d/loops/BlitBg.java 2019-06-19 14:02:03.000000000 +0530 +++ new/src/java.desktop/share/classes/sun/java2d/loops/BlitBg.java 2019-06-19 14:02:02.000000000 +0530 @@ -209,9 +209,13 @@ int srcx, int srcy, int dstx, int dsty, int width, int height) { - tracePrimitive(target); + if ((traceflags & TRACEPTIME) == 0) { + tracePrimitive(target); + } + long time = System.nanoTime(); target.BlitBg(src, dst, comp, clip, bgColor, srcx, srcy, dstx, dsty, width, height); + tracePrimitiveTime(target, System.nanoTime() - time); } } }