equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2016, 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. |
487 instanceKlassHandle scratch_class, |
487 instanceKlassHandle scratch_class, |
488 constantPoolHandle scratch_cp, int scratch_cp_length, TRAPS); |
488 constantPoolHandle scratch_cp, int scratch_cp_length, TRAPS); |
489 |
489 |
490 void flush_dependent_code(instanceKlassHandle k_h, TRAPS); |
490 void flush_dependent_code(instanceKlassHandle k_h, TRAPS); |
491 |
491 |
|
492 // lock classes to redefine since constant pool merging isn't thread safe. |
|
493 void lock_classes(); |
|
494 void unlock_classes(); |
|
495 |
492 static void dump_methods(); |
496 static void dump_methods(); |
493 |
497 |
494 // Check that there are no old or obsolete methods |
498 // Check that there are no old or obsolete methods |
495 class CheckClass : public KlassClosure { |
499 class CheckClass : public KlassClosure { |
496 Thread* _thread; |
500 Thread* _thread; |