RFR: 8166145: runtime/threads/ThreadInterruptTest3 fails with ExitCode 0
Gerard Ziemski
gerard.ziemski at oracle.com
Wed Oct 5 20:45:52 UTC 2016
Thank you for the review!
> On Oct 5, 2016, at 2:12 PM, Coleen Phillimore <coleen.phillimore at oracle.com> wrote:
>
> http://cr.openjdk.java.net/~gziemski/8166145_rev1/src/share/vm/classfile/dictionary.cpp.udiff.html
>
> I was going to suggest that you change
>
> 732 void Dictionary::print(bool details) {
>
>
> to pass outputStream so it can be converted to logging, but that's a bigger change than we should do right now. Can you file an RFE for 10 to convert the hashtable printing to UL?
Done, please see JDK-8167232
cheers
>
> This change looks good.
>
> Coleen
>
>
> On 10/5/16 10:37 AM, Gerard Ziemski wrote:
>> Ping. Can I have this simple fix reviewed please?
>>
>>
>>> On Sep 29, 2016, at 11:08 AM, Gerard Ziemski <gerard.ziemski at oracle.com> wrote:
>>>
>>> hi all,
>>>
>>> Please review this straightforward fix for a regression caused by JDK-8138760
>>>
>>> For JDK-8138760 we added more debug info to help us understand the "Performance bug: SystemDictionary” issue. That, however, caused a regression in tests that could not account for the new info printed out, such as tests using golden file to compare their output, and those that searched output for keywords like “Error”, which now matched on output that printed entries of Symbol Table like “java.lang.VirtualMachineError, loader NULL class_loader”.
>>>
>>> In this fix we wrap the extra debug info in a new “hashtables” UL tag, which means that in order to get the new debug info a test must now pass "-Xlog:hashtables=info” into VM at startup. I filed JDK-8166848 to track followup issue, like finding an optimization that would solve this performance issue and finding an appropriate test dedicated to tracking the issue and verifying the fix.
>>>
>>> The new debug info is refactored into its own method “printPerformanceInfoDetails”
>>>
>>> We also make a small change to the “verify_lookup_length” method, which now takes the name of the table, instead of hardcoding it to “SymbolTable”.
>>>
>>> bug: https://bugs.openjdk.java.net/browse/JDK-8166145
>>> webrev: http://cr.openjdk.java.net/~gziemski/8166145_rev1
>>>
>>> Passes local tonga ThreadInterruptTest3 test and RBT hotspot_all
>>>
>
More information about the hotspot-runtime-dev
mailing list