Request for review (S, UPDATED) 7017193: Small memory leak in get_stack_bounds // os::create_stack_guard_pages

Dmitry Samersoff Dmitry.Samersoff at
Thu Feb 24 13:24:22 PST 2011

[got mailer error for openjdk alias, so resending]

Hi Everyone,

Here is updated fix:

I introduce a new convenience function primary designed to read variety 
of /proc files. It reads first N characters of line and then skip until eol.

Than get_stack_bounds() is changed to use it instead of stdio getline();


Dmitry Samersoff
Java Hotspot development team, SPB04
* There will come soft rains ...

More information about the hotspot-runtime-dev mailing list