RFR(S) 8211336 [TESTBUG] appcds tests with incorrect usage of -XX:+UseStringDeduplication (original) (raw)
Calvin Cheung calvin.cheung at oracle.com
Tue Oct 30 00:29:49 UTC 2018
- Previous message: RFR(S) 8211336 [TESTBUG] appcds tests with incorrect usage of -XX:+UseStringDeduplication
- Next message: RFR(S) 8211336 [TESTBUG] appcds tests with incorrect usage of -XX:+UseStringDeduplication
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Ioi,
Fix looks good to me. The SharedStringsUtils.java needs copyright year update.
thanks, Calvin
On 10/29/18, 2:32 PM, Ioi Lam wrote:
http://cr.openjdk.java.net/~iklam/jdk12/8211336-cds-test-fix-for-string-dedup.v01/
https://bugs.openjdk.java.net/browse/JDK-8211336 Please review this small test fix: These are "shell" tests that need to pass certain options (such as -XX:+UseStringDeduplication) to child JVM processes that are launched via jdk.test.lib.process.ProcessTools. The tests were using this: * @run main/othervm -XX:+UseStringDeduplication ExerciseGC However, options passed this way are not passed by ProcessTools. The fix is to change to the following * @run driver ExerciseGC -XX:+UseStringDeduplication and let the main test program explicitly pass args[] (indirectly) to ProcessTools. (I also cleaned up some unnecessary @module tags) Test in progress with hs-tier1/2. Thanks - Ioi
- Previous message: RFR(S) 8211336 [TESTBUG] appcds tests with incorrect usage of -XX:+UseStringDeduplication
- Next message: RFR(S) 8211336 [TESTBUG] appcds tests with incorrect usage of -XX:+UseStringDeduplication
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]