8235765: Use of the long type should be avoided in shared code

Changed some long declarations to uint64_t/int64_t or unsigned int, depending on context.

Reviewed-by: lfoltan, kvn, dholmes
This commit is contained in:
Coleen Phillimore 2020-08-17 10:08:36 -04:00
parent 51c8ac362e
commit 35421399a4
11 changed files with 33 additions and 34 deletions

View file

@ -48,9 +48,9 @@
class InterfaceSupport: AllStatic {
# ifdef ASSERT
public:
static long _scavenge_alot_counter;
static long _fullgc_alot_counter;
static long _fullgc_alot_invocation;
static unsigned int _scavenge_alot_counter;
static unsigned int _fullgc_alot_counter;
static int _fullgc_alot_invocation;
// Helper methods used to implement +ScavengeALot and +FullGCALot
static void check_gc_alot() { if (ScavengeALot || FullGCALot) gc_alot(); }