Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/shared/objectCountEventSender.hpp @ 13400:86e6d691f2e1
8028128: Add a type safe alternative for working with counter based data
Reviewed-by: dholmes, egahlin
author | mgronlun |
---|---|
date | Sat, 23 Nov 2013 12:25:13 +0100 |
parents | 6aa440bc1125 |
children |
comparison
equal
deleted
inserted
replaced
13399:260ac69dc096 | 13400:86e6d691f2e1 |
---|---|
30 #include "utilities/macros.hpp" | 30 #include "utilities/macros.hpp" |
31 | 31 |
32 #if INCLUDE_SERVICES | 32 #if INCLUDE_SERVICES |
33 | 33 |
34 class KlassInfoEntry; | 34 class KlassInfoEntry; |
35 class Ticks; | |
35 | 36 |
36 class ObjectCountEventSender : public AllStatic { | 37 class ObjectCountEventSender : public AllStatic { |
37 public: | 38 public: |
38 static void send(const KlassInfoEntry* entry, GCId gc_id, jlong timestamp); | 39 static void send(const KlassInfoEntry* entry, GCId gc_id, const Ticks& timestamp); |
39 static bool should_send_event(); | 40 static bool should_send_event(); |
40 }; | 41 }; |
41 | 42 |
42 #endif // INCLUDE_SERVICES | 43 #endif // INCLUDE_SERVICES |
43 | 44 |