RFR (S): 8067469: G1 ignores AlwaysPreTouch

Thomas Schatzl thomas.schatzl at oracle.com
Wed Dec 17 14:40:28 UTC 2014


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.

Maybe I missed something somewhere.

Thanks,
  Thomas




More information about the hotspot-runtime-dev mailing list