RFR (M): 8231209: [REDO] ThreadMXBean::getThreadAllocatedBytes() can be quicker for self thread

Mandy Chung mandy.chung at oracle.com
Thu Sep 19 23:33:15 UTC 2019



On 9/19/19 4:06 PM, David Holmes wrote:
>
> 2. You implemented the new method in the test class.
>
> I don't understand why you did that. The test can't be calling the new 
> method. Now that it is a default method we will get past the 
> compilation failure that caused the problem. So no change to the test 
> should be needed AFAICS.
>

Maybe.  It can verify easily.   I don't know what the test does and 
whether it expects a good return value rather than UOE.

Implementing the new method has no harm but as I commented early, it is 
a long attribute and not an operation.

I'm okay with either way.

Mandy


More information about the serviceability-dev mailing list