RFR (XS): JDK-8033990: Add message to verbose output to indicate when JVM was unable to use shared archive (with -Xshare:auto)
Christian Tornqvist
christian.tornqvist at oracle.com
Tue Mar 4 15:05:27 PST 2014
Looks good!
Thanks,
Christian
From: hotspot-runtime-dev-bounces at openjdk.java.net [mailto:hotspot-runtime-dev-bounces at openjdk.java.net] On Behalf Of Mikhailo Seledtsov
Sent: Tuesday, March 4, 2014 2:14 PM
To: Coleen Phillimore; hotspot-runtime-dev at openjdk.java.net
Subject: Re: RFR (XS): JDK-8033990: Add message to verbose output to indicate when JVM was unable to use shared archive (with -Xshare:auto)
Here is webrev v02, updated after discussion with Coleen:
http://cr.openjdk.java.net/~mseledtsov/8033990/webrev.02/ <http://cr.openjdk.java.net/%7Emseledtsov/8033990/webrev.02/>
Misha
On 3/3/2014 2:06 PM, Mikhailo Seledtsov wrote:
Please review the updated webrev at http://cr.openjdk.java.net/~mseledtsov/8033990/webrev.01/ <http://cr.openjdk.java.net/%7Emseledtsov/8033990/webrev.01/>
Thank you,
Misha
On 2/12/2014 1:59 PM, Coleen Phillimore wrote:
On 2/12/14 1:35 PM, Mikhailo Seledtsov wrote:
Hi Coleen,
Thank you for the review. Would it be OK if I print the message that comes thru after the message that I introduced?
There is a variety of messages that are passed to fail_continue() depending on who calls it; checking/asserting on each message in the test would be a large overhead; also some of these messages do not convey "attempted, but failed" meaning.
That seems fine if you want to prefix the message with yours, or append yours. Whatever makes sense in the context of the message.
Coleen
Thank you,
Misha
On 2/12/2014 10:40 AM, Coleen Phillimore wrote:
Misha,
There is a message that comes through to fail_continue(). Why don't you use that message?
thanks,
Coleen
On 2/7/14 4:55 PM, Mikhailo Seledtsov wrote:
Please review this small change that improves testability of CDS, and will aid in fixing several intermittently failing CDS tests.
JBS: https://jbs.oracle.com/bugs/browse/JDK-8033990
Webrev: http://cr.openjdk.java.net/~mseledtsov/8033990/webrev.00/ <http://cr.openjdk.java.net/%7Emseledtsov/8033990/webrev.00/>
Testing:
Basic testing:
- ran "Xshare:auto -version", "-XX:+Verbose -XX:+PrintMiscellaneous -Xshare:auto -version" before and after the archive was created
- ran "XX:+Verbose -XX:+PrintMiscellaneous -Xshare:auto -version" on Windows where ASLR occasionally prevents sharing
JT-Reg: runtime/SharedArchiveFile, with and w/o the additional options -vmoptions:"-XX:+Verbose -XX:+PrintMiscellaneous"
Tonga: a sub-set of vm.parallel_class_loading.testlist, with -Xshare:auto -XX:+Verbose -XX:+PrintMiscellaneous -showversion"
Tonga (vm.parallel_class_loading.testlist -vmopts " -Xshare:auto -XX:+Verbose -XX:+PrintMiscellaneous -showversion")
- ongoing. Plan not to run full testlist since the change is small and trivial
JPRT: standard JPRT: 2014-02-07-210345.mseledtsov.work01
- ongoing
Thank you,
Misha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/attachments/20140304/db368464/attachment.html
More information about the hotspot-runtime-dev
mailing list