8290090: Change CodeBlobType from unscoped enum to enum class

Reviewed-by: eosterlund, kvn
This commit is contained in:
Axel Boldt-Christmas 2022-08-05 08:24:25 +00:00 committed by Erik Österlund
parent 4c652d9eca
commit dd7f2d912b
11 changed files with 74 additions and 71 deletions

View file

@ -358,7 +358,7 @@ public:
static bool is_compilation_disabled_forever() {
return _should_compile_new_jobs == shutdown_compilation;
}
static void handle_full_code_cache(int code_blob_type);
static void handle_full_code_cache(CodeBlobType code_blob_type);
// Ensures that warning is only printed once.
static bool should_print_compiler_warning() {
jint old = Atomic::cmpxchg(&_print_compilation_warning, 0, 1);