hotspot/src/share/vm/interpreter/rewriter.hpp
changeset 5702 201c5cde25bb
parent 5547 f4b087cbb361
parent 5688 9052dc91ea67
child 5882 6b2aecc4f7d8
equal deleted inserted replaced
5685:0e4c848d5c06 5702:201c5cde25bb
     1 /*
     1 /*
     2  * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1998, 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.
    62   void compute_index_maps();
    62   void compute_index_maps();
    63   void make_constant_pool_cache(TRAPS);
    63   void make_constant_pool_cache(TRAPS);
    64   void scan_method(methodOop m);
    64   void scan_method(methodOop m);
    65   methodHandle rewrite_jsrs(methodHandle m, TRAPS);
    65   methodHandle rewrite_jsrs(methodHandle m, TRAPS);
    66   void rewrite_Object_init(methodHandle m, TRAPS);
    66   void rewrite_Object_init(methodHandle m, TRAPS);
    67   int  rewrite_member_reference(address bcp, int offset);
    67   void rewrite_member_reference(address bcp, int offset);
    68   void rewrite_invokedynamic(address bcp, int offset, int cp_index);
    68   void rewrite_invokedynamic(address bcp, int offset);
    69 
    69 
    70  public:
    70  public:
    71   // Driver routine:
    71   // Driver routine:
    72   static void rewrite(instanceKlassHandle klass, TRAPS);
    72   static void rewrite(instanceKlassHandle klass, TRAPS);
    73   static void rewrite(instanceKlassHandle klass, constantPoolHandle cpool, objArrayHandle methods, TRAPS);
    73   static void rewrite(instanceKlassHandle klass, constantPoolHandle cpool, objArrayHandle methods, TRAPS);