[8u] 8178870: instrumentation.retransformClasses cause coredump

Zhengyu Gu zgu at redhat.com
Wed Sep 25 15:06:48 UTC 2019


Hi David,

On 9/25/19 10:02 AM, Alvarez, David wrote:
> 
> For test8178870.sh, the situation is a little bit trickier. The test will pass
> if it is called directly, but it fails when called as part of a group. And I'm
> only able to consistently reproduce this behavior if I wipe out the JTwork
> folder in between runs:

test8178870.sh was written to replace test annotation in 
RedefineDoubleDelete.java. Now, it works, so we should just remove 
test8178870.sh.

I just RFR the fix:
https://mail.openjdk.java.net/pipermail/jdk8u-dev/2019-September/010365.html

Could you please review it?

Thanks,

-Zhengyu

> 
> $ jtreg -v:summary -retain:none -jdk:/home/alvdavi/hg/jdk8u/build/linux-x86_64-normal-server-release/images/j2sdk-image hotspot/test/runtime/RedefineTests/test8178870.sh
> Directory "JTwork" not found: creating
> Directory "JTreport" not found: creating
> Passed: runtime/RedefineTests/test8178870.sh
> Test results: passed: 1
> Report written to /local/home/alvdavi/hg/jdk8u/JTreport/html/report.html
> Results written to /local/home/alvdavi/hg/jdk8u/JTwork
> 
> $ rm -rf JTreport JTwork
> 
> $ jtreg -v:summary -retain:none -jdk:/home/alvdavi/hg/jdk8u/build/linux-x86_64-normal-server-release/images/j2sdk-image hotspot/test/runtime/RedefineTests/
> Directory "JTwork" not found: creating
> Directory "JTreport" not found: creating
> Passed: runtime/RedefineTests/RedefineAnnotations.java
> Passed: runtime/RedefineTests/RedefineDoubleDelete.java
> Passed: runtime/RedefineTests/RedefineFinalizer.java
> Passed: runtime/RedefineTests/RedefineInterfaceCall.java
> Passed: runtime/RedefineTests/RedefineRunningMethods.java
> Passed: runtime/RedefineTests/RedefineRunningMethodsWithResolutionErrors.java
> FAILED: runtime/RedefineTests/test8178870.sh
> Test results: passed: 6; failed: 1
> Report written to /local/home/alvdavi/hg/jdk8u/JTreport/html/report.html
> Results written to /local/home/alvdavi/hg/jdk8u/JTwork
> Error: Some tests failed or other problems occurred.
> 
> Later today I will take a look.
> 
> --
> David
> 
> On 2019-09-25, 04:14, "Zhengyu Gu" <zgu at redhat.com> wrote:
> 
>      Thanks, Aleksey.
>      
>      I will wait David's reply to proceed.
>      
>      -Zhengyu
>      
>      On 9/25/19 7:07 AM, Aleksey Shipilev wrote:
>      > On 9/25/19 1:06 PM, Zhengyu Gu wrote:
>      >> Andrew, Aleksey:
>      >> What's the process to fix this bad test? Sorry for the troubles.
>      > The same process, you just need a new issue that targets openjdk8u232, RFR it here, add
>      > jdk8u-critical-request.
>      >
>      
> 


More information about the jdk8u-dev mailing list