comparison src/share/vm/oops/constantPool.cpp @ 7624:b14da2e6f2dc

7174978: NPG: Fix bactrace builder for class redefinition Summary: Remove Method* from backtrace but save version so redefine classes doesn't give inaccurate line numbers. Removed old Merlin API with duplicate code. Reviewed-by: dholmes, sspitsyn
author coleenp
date Thu, 17 Jan 2013 13:40:31 -0500
parents 90273fc0a981
children 3ac7d10a6572 5daaddd917a1
comparison
equal deleted inserted replaced
7623:203f64878aab 7624:b14da2e6f2dc
1 /* 1 /*
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 2013, 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.
64 set_resolved_references(NULL); 64 set_resolved_references(NULL);
65 set_operands(NULL); 65 set_operands(NULL);
66 set_pool_holder(NULL); 66 set_pool_holder(NULL);
67 set_flags(0); 67 set_flags(0);
68 // only set to non-zero if constant pool is merged by RedefineClasses 68 // only set to non-zero if constant pool is merged by RedefineClasses
69 set_orig_length(0); 69 set_version(0);
70 set_lock(new Monitor(Monitor::nonleaf + 2, "A constant pool lock")); 70 set_lock(new Monitor(Monitor::nonleaf + 2, "A constant pool lock"));
71 // all fields are initialized; needed for GC 71 // all fields are initialized; needed for GC
72 set_on_stack(false); 72 set_on_stack(false);
73 73
74 // initialize tag array 74 // initialize tag array