10 RFR: WhiteBox methods should throw an exception if used with inappropriate collector.

Michail Chernov michail.chernov at oracle.com
Fri Mar 3 13:40:39 UTC 2017


Aleksey,

Thank you for reviewing.
This is updated version with your suggestion:

http://cr.openjdk.java.net/~mchernov/8167196/webrev.01/
http://cr.openjdk.java.net/~mchernov/8167196/webrev.01_to_00/


On 03/03/2017 16:00, Aleksey Shipilev wrote:
> On 03/03/2017 01:57 PM, Michail Chernov wrote:
>> http://cr.openjdk.java.net/~mchernov/8167196/webrev.00/
> Looks okay.
>
> I guess throwing UnsupportedOperationException conveys the intent better than
> raw RuntimeException.
>
> -Aleksey
>



More information about the hotspot-gc-dev mailing list