7003271: Hotspot should track cumulative Java heap bytes allocated on a per-thread basis
Summary: Track allocated bytes in Thread's, update on TLAB retirement and direct allocation in Eden and tenured, add JNI methods for ThreadMXBean.
Reviewed-by: coleenp, kvn, dholmes, ysr
7009268: guarantee(middle - slop > start) failed: need enough space to divide up
Summary: Codebuffer can overflow on test with large number of calls
Reviewed-by: dholmes, collins