--- old/src/share/vm/services/memoryService.hpp 2014-10-17 15:27:22.000000000 +0200 +++ new/src/share/vm/services/memoryService.hpp 2014-10-17 15:27:22.000000000 +0200 @@ -57,13 +57,6 @@ init_code_heap_pools_size = 9 }; - // index for minor and major generations - enum { - minor = 0, - major = 1, - n_gens = 2 - }; - static GrowableArray* _pools_list; static GrowableArray* _managers_list;