Add Java Heap Profiler sampling to large space allocations. am: a6cb451f4a am: 2ed9baabe6

Original change: https://android-review.googlesource.com/c/platform/art/+/1704745

Change-Id: Ic48c27e4f93eff70bf98d7e14316875d797d02a9