< prev index next >

src/hotspot/share/gc/shenandoah/shenandoahNMethod.hpp

Print this page
rev 58162 : 8239926: Shenandoah: Shenandoah needs to mark nmethod's metadata

*** 1,7 **** /* ! * Copyright (c) 2019, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2019, 2020, Red Hat, Inc. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 63,72 **** --- 63,75 ---- inline bool is_unregistered() const; static ShenandoahNMethod* for_nmethod(nmethod* nm); static inline ShenandoahReentrantLock* lock_for_nmethod(nmethod* nm); + // Keep nmethod's metadata alive + static void keep_metadata_alive(nmethod* nm); + static void heal_nmethod(nmethod* nm); static inline void disarm_nmethod(nmethod* nm); static inline ShenandoahNMethod* gc_data(nmethod* nm); static inline void attach_gc_data(nmethod* nm, ShenandoahNMethod* gc_data);
< prev index next >