RFR 8062116: JVMTI GetClassMethods is Slow
Coleen Phillimore
coleen.phillimore at oracle.com
Thu Nov 6 13:49:12 UTC 2014
David, you didn't recommend taking the code out, because it looked like
something that would trick people, so we'll leave it in. It's benign.
The rest of the change improves performance, which we want.
Thanks,
Coleen
On 11/6/14, 12:35 AM, David Holmes wrote:
> Right - now I get it. Pointer difference is an algebraic subtraction
> with "div sizeof what is pointed to". For aligned pointers there will
> be no remainder and adding back the difference to the initial pointer
> will yield the end pointer. But if one of the pointers is not aligned
> that is not the case.
>
> All rather icky.
>
> Thanks,
> David
> ----
More information about the serviceability-dev
mailing list