RFR: 8142976: TraceClassInitialization has been reimplemented with Unified Logging. (original) (raw)

Rachel Protacio rachel.protacio at oracle.com
Tue Nov 24 20:40:28 UTC 2015


Hi,

Looks mostly good, just a few comments:

verifier.cpp

ClassInitializationTest.java

Thanks, Rachel

On 11/24/2015 3:09 PM, Max Ockner wrote:

Hello, Please review my new unified logging code:

Bug: https://bugs.openjdk.java.net/browse/JDK-8142976 http://cr.openjdk.java.net/~mockner/ulclassinit01/src/share/vm/classfile/verifier.cpp.cdiff.html Summary: -XX:+TraceClassInitialization logging has been reimplemented using unified logging under the classinit tag. In the segment with recursive verification (see verifier.cpp) I reordered the nested if statement to check wasrecursivelyverified() first. I valued clean code over potentially avoiding a function call to wasrecursivelyverified. What do you think? Tested with: jtreg hotspot tests new jtreg test for classinit tag performance testing with refworkload. Thanks, Max



More information about the hotspot-runtime-dev mailing list