equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2017, 2019, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
283 nm->flush_dependencies(false /* delete_immediately */); |
283 nm->flush_dependencies(false /* delete_immediately */); |
284 |
284 |
285 // We don't need to take the lock when unlinking nmethods from |
285 // We don't need to take the lock when unlinking nmethods from |
286 // the Method, because it is only concurrently unlinked by |
286 // the Method, because it is only concurrently unlinked by |
287 // the entry barrier, which acquires the per nmethod lock. |
287 // the entry barrier, which acquires the per nmethod lock. |
288 nm->unlink_from_method(); |
288 nm->unlink_from_method(false /* acquire_lock */); |
289 return; |
289 return; |
290 } |
290 } |
291 |
291 |
292 // Heal oops and disarm |
292 // Heal oops and disarm |
293 ZNMethodOopClosure cl; |
293 ZNMethodOopClosure cl; |