8066443: Add G1 support for promotion event

Reviewed-by: tschatzl
This commit is contained in:
Staffan Friberg 2015-09-02 09:51:05 +02:00
parent dada9bc32c
commit 96823ab211
4 changed files with 29 additions and 0 deletions

View file

@ -172,6 +172,7 @@ class YoungGCTracer : public GCTracer {
*
* plab_size is the size of the newly allocated PLAB in bytes.
*/
bool should_report_promotion_events() const;
bool should_report_promotion_in_new_plab_event() const;
bool should_report_promotion_outside_plab_event() const;
void report_promotion_in_new_plab_event(Klass* klass, size_t obj_size,