hotspot/src/share/vm/prims/jvmtiRedefineClasses.hpp
changeset 7397 5b173b4ca846
parent 5547 f4b087cbb361
child 8076 96d498ec7ae1
equal deleted inserted replaced
7396:518b01b064ff 7397:5b173b4ca846
     1 /*
     1 /*
     2  * Copyright (c) 2003, 2006, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2003, 2010, 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.
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    20  * or visit www.oracle.com if you need additional information or have any
    20  * or visit www.oracle.com if you need additional information or have any
    21  * questions.
    21  * questions.
    22  *
    22  *
    23  */
    23  */
       
    24 
       
    25 #ifndef SHARE_VM_PRIMS_JVMTIREDEFINECLASSES_HPP
       
    26 #define SHARE_VM_PRIMS_JVMTIREDEFINECLASSES_HPP
       
    27 
       
    28 #include "jvmtifiles/jvmtiEnv.hpp"
       
    29 #include "memory/oopFactory.hpp"
       
    30 #include "memory/resourceArea.hpp"
       
    31 #include "oops/objArrayKlass.hpp"
       
    32 #include "oops/objArrayOop.hpp"
       
    33 #include "prims/jvmtiRedefineClassesTrace.hpp"
       
    34 #include "runtime/vm_operations.hpp"
    24 
    35 
    25 // Introduction:
    36 // Introduction:
    26 //
    37 //
    27 // The RedefineClasses() API is used to change the definition of one or
    38 // The RedefineClasses() API is used to change the definition of one or
    28 // more classes. While the API supports redefining more than one class
    39 // more classes. While the API supports redefining more than one class
   485 
   496 
   486   // Modifiable test must be shared between IsModifiableClass query
   497   // Modifiable test must be shared between IsModifiableClass query
   487   // and redefine implementation
   498   // and redefine implementation
   488   static bool is_modifiable_class(oop klass_mirror);
   499   static bool is_modifiable_class(oop klass_mirror);
   489 };
   500 };
       
   501 
       
   502 #endif // SHARE_VM_PRIMS_JVMTIREDEFINECLASSES_HPP