1.1 --- a/src/share/vm/prims/jvmtiRedefineClasses.hpp Tue Jan 22 11:54:16 2013 -0800 1.2 +++ b/src/share/vm/prims/jvmtiRedefineClasses.hpp Wed Jan 23 10:34:29 2013 -0500 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -487,17 +487,4 @@ 1.11 // and redefine implementation 1.12 static bool is_modifiable_class(oop klass_mirror); 1.13 }; 1.14 - 1.15 - 1.16 -// Helper class to mark and unmark metadata used on the stack as either handles 1.17 -// or executing methods, so that it can't be deleted during class redefinition 1.18 -// and class unloading. 1.19 -class MetadataOnStackMark : public StackObj { 1.20 - NOT_PRODUCT(static bool _is_active;) 1.21 - public: 1.22 - MetadataOnStackMark() NOT_JVMTI_RETURN; 1.23 - ~MetadataOnStackMark() NOT_JVMTI_RETURN; 1.24 - static void record(Metadata* m) NOT_JVMTI_RETURN; 1.25 -}; 1.26 - 1.27 #endif // SHARE_VM_PRIMS_JVMTIREDEFINECLASSES_HPP