RFR (XS): 8186480: Remove warning when AssumeMP is true and ergonomics determines to use one worker thread

Aleksey Shipilev shade at redhat.com
Thu Nov 9 13:01:48 UTC 2017

On 11/09/2017 01:17 PM, Thomas Schatzl wrote:
> The problem is that, some time ago AssumeMP has been made true default,
> and already deprecated in 10 (JDK-8185062) and the plan is to obsolete
> it, so this message shows up in some tests if run on e.g. a single-
> thread VM.
> I suggest to remove this message because of this and it does not seem
> to be terribly useful: to get only one thread by ergonomics you need to
> explicitly run the VM in an environment that only provides a single
> thread. It seems logical that in this case the user can expect (given
> he relies on ergonomics) that the GC will only use one thread.
> CR:
> https://bugs.openjdk.java.net/browse/JDK-8186480
> Webrev:
> http://cr.openjdk.java.net/~tschatzl/8186480/webrev/

That makes sense. Looks good to me.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://mail.openjdk.java.net/pipermail/hotspot-gc-dev/attachments/20171109/769be375/signature.asc>

More information about the hotspot-gc-dev mailing list