Request for review: 8010862: The Method counter fields used for profiling can be allocated lazily

Roland Westrelin roland.westrelin at oracle.com
Mon Apr 8 08:31:32 PDT 2013


>> That sounds good. Maybe also asserting that there's no pending exception before the calls that can throw an OOM exception would be safer.
> 
> I think you can get an OOM but you just won't create the counters and not update them.

I was wondering what would happen if there's already an exception pending when the OOM is thrown. That's something the code doesn't expect and maybe we should add an assert to check that it indeed doesn't happen.

Roland.


More information about the hotspot-runtime-dev mailing list