Hello everyone!

Code in the file Bits.c can be made a bit shorter:
First, we can remove updating the variables which aren't used:
 103         dstAddr += size;
 138         srcAddr += size;
... and alike.

Second, the 'size' variable may only be updated when 'length' becomes less than MBYTE. The warning not to modify the code which has just been modified was also removed.

I've built jdk on all available platforms (both production and debug) to make sure the code is still compilable.

BUGURL: https://bugs.openjdk.java.net/browse/JDK-8074067
WEBREV: http://cr.openjdk.java.net/~igerasim/8074067/0/webrev/

Sincerely yours,
Ivan

Reply via email to