8242896: typo #ifdef INCLUDE_JVMTI in codeCache.cpp

Reviewed-by: dholmes, sspitsyn
This commit is contained in:
Coleen Phillimore 2020-04-17 07:46:17 -04:00
parent 25c70b3bc3
commit 9735678c26
2 changed files with 5 additions and 5 deletions

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -1036,7 +1036,7 @@ bool CodeCache::is_far_target(address target) {
#endif #endif
} }
#ifdef INCLUDE_JVMTI #if INCLUDE_JVMTI
// RedefineClasses support for unloading nmethods that are dependent on "old" methods. // RedefineClasses support for unloading nmethods that are dependent on "old" methods.
// We don't really expect this table to grow very large. If it does, it can become a hashtable. // We don't really expect this table to grow very large. If it does, it can become a hashtable.
static GrowableArray<CompiledMethod*>* old_compiled_method_table = NULL; static GrowableArray<CompiledMethod*>* old_compiled_method_table = NULL;

View file

@ -1,5 +1,5 @@
/* /*
* Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
@ -278,8 +278,8 @@ class CodeCache : AllStatic {
static int mark_dependents_for_evol_deoptimization(); static int mark_dependents_for_evol_deoptimization();
static void mark_all_nmethods_for_evol_deoptimization(); static void mark_all_nmethods_for_evol_deoptimization();
static void flush_evol_dependents(); static void flush_evol_dependents();
static void old_nmethods_do(MetadataClosure* f); static void old_nmethods_do(MetadataClosure* f) NOT_JVMTI_RETURN;
static void unregister_old_nmethod(CompiledMethod* c); static void unregister_old_nmethod(CompiledMethod* c) NOT_JVMTI_RETURN;
// Support for fullspeed debugging // Support for fullspeed debugging
static void flush_dependents_on_method(const methodHandle& dependee); static void flush_dependents_on_method(const methodHandle& dependee);