RFR (S): 8067469: G1 ignores AlwaysPreTouch

Coleen Phillimore coleen.phillimore at oracle.com
Wed Dec 17 16:19:43 UTC 2014


On 12/17/14, 9:40 AM, Thomas Schatzl wrote:
> Hi Coleen,
>
> On Wed, 2014-12-17 at 09:38 -0500, Coleen Phillimore wrote:
>> I only looked at os.cpp but do you have to touch every byte?
> +  for (volatile char *p = start; p < end; p += os::vm_page_size()) {
>
> The pointer increments by os::vm_page_size(), so I do not understand
> your concern.

No, I read this wrong.   This seems ok to me.

Coleen

>
> Maybe I missed something somewhere.
>
> Thanks,
>    Thomas
>
>



More information about the hotspot-runtime-dev mailing list