--- a/hotspot/src/share/vm/oops/method.cpp Thu Mar 07 14:06:44 2013 -0500
+++ b/hotspot/src/share/vm/oops/method.cpp Fri Mar 08 11:47:57 2013 -0500
@@ -77,20 +77,14 @@
return new (loader_data, size, false, THREAD) Method(cm, access_flags, size);
}
-Method::Method(ConstMethod* xconst,
- AccessFlags access_flags, int size) {
+Method::Method(ConstMethod* xconst, AccessFlags access_flags, int size) {
No_Safepoint_Verifier no_safepoint;
set_constMethod(xconst);
set_access_flags(access_flags);
set_method_size(size);
- set_name_index(0);
- set_signature_index(0);
#ifdef CC_INTERP
set_result_index(T_VOID);
#endif
- set_constants(NULL);
- set_max_stack(0);
- set_max_locals(0);
set_intrinsic_id(vmIntrinsics::_none);
set_jfr_towrite(false);
set_method_data(NULL);