src/share/vm/runtime/vm_operations.hpp

Print this page


   1 /*
   2  * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  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
  21  * questions.
  22  *


 444 
 445  public:
 446   VM_PrintCodeList(outputStream* st) : _out(st) {}
 447   VMOp_Type type() const { return VMOp_PrintCodeList; }
 448   void doit();
 449 };
 450 
 451 class VM_PrintCodeCache: public VM_Operation {
 452  private:
 453   outputStream* _out;
 454 
 455  public:
 456   VM_PrintCodeCache(outputStream* st) : _out(st) {}
 457   VMOp_Type type() const { return VMOp_PrintCodeCache; }
 458   void doit();
 459 };
 460 
 461 class VM_PrintClassHierachry: public VM_Operation {
 462  private:
 463   outputStream* _out;



 464 
 465  public:
 466   VM_PrintClassHierachry(outputStream* st) : _out(st) {}


 467   VMOp_Type type() const { return VMOp_PrintClassHierachry; }
 468   void doit();
 469 };
 470 
 471 #endif // SHARE_VM_RUNTIME_VM_OPERATIONS_HPP
   1 /*
   2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   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
   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  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
  21  * questions.
  22  *


 444 
 445  public:
 446   VM_PrintCodeList(outputStream* st) : _out(st) {}
 447   VMOp_Type type() const { return VMOp_PrintCodeList; }
 448   void doit();
 449 };
 450 
 451 class VM_PrintCodeCache: public VM_Operation {
 452  private:
 453   outputStream* _out;
 454 
 455  public:
 456   VM_PrintCodeCache(outputStream* st) : _out(st) {}
 457   VMOp_Type type() const { return VMOp_PrintCodeCache; }
 458   void doit();
 459 };
 460 
 461 class VM_PrintClassHierachry: public VM_Operation {
 462  private:
 463   outputStream* _out;
 464   bool _print_interfaces;
 465   bool _print_subclasses;
 466   char* _classname;
 467 
 468  public:
 469   VM_PrintClassHierachry(outputStream* st, bool print_interfaces, bool print_subclasses, char* classname) :
 470     _out(st), _print_interfaces(print_interfaces), _print_subclasses(print_subclasses),
 471     _classname(classname) {}
 472   VMOp_Type type() const { return VMOp_PrintClassHierachry; }
 473   void doit();
 474 };
 475 
 476 #endif // SHARE_VM_RUNTIME_VM_OPERATIONS_HPP