hotspot/src/share/vm/code/debugInfoRec.hpp
author coleenp
Fri, 23 Oct 2015 16:48:38 -0400
changeset 33593 60764a78fa5c
parent 33160 c59f1676d27e
child 38673 e8a403dd5a7d
permissions -rw-r--r--
8140274: methodHandles and constantPoolHandles should be passed as const references Summary: modified code to use const reference parameters Reviewed-by: sspitsyn, twisti
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
/*
33593
60764a78fa5c 8140274: methodHandles and constantPoolHandles should be passed as const references
coleenp
parents: 33160
diff changeset
     2
 * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
 * published by the Free Software Foundation.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
 * accompanied this code).
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
 *
5547
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4894
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4894
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4894
diff changeset
    21
 * questions.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    22
 *
489c9b5090e2 Initial load
duke
parents:
diff changeset
    23
 */
489c9b5090e2 Initial load
duke
parents:
diff changeset
    24
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    25
#ifndef SHARE_VM_CODE_DEBUGINFOREC_HPP
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    26
#define SHARE_VM_CODE_DEBUGINFOREC_HPP
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    27
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    28
#include "ci/ciClassList.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    29
#include "ci/ciInstanceKlass.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    30
#include "ci/ciMethod.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    31
#include "code/debugInfo.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    32
#include "code/location.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    33
#include "code/pcDesc.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    34
#include "compiler/oopMap.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    35
#include "oops/oop.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    36
#include "utilities/growableArray.hpp"
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
    37
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    38
//** The DebugInformationRecorder collects debugging information
489c9b5090e2 Initial load
duke
parents:
diff changeset
    39
//   for a compiled method.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    40
//   Debugging information is used for:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    41
//   - garbage collecting compiled frames
489c9b5090e2 Initial load
duke
parents:
diff changeset
    42
//   - stack tracing across compiled frames
489c9b5090e2 Initial load
duke
parents:
diff changeset
    43
//   - deoptimizating compiled frames
489c9b5090e2 Initial load
duke
parents:
diff changeset
    44
//
489c9b5090e2 Initial load
duke
parents:
diff changeset
    45
//   The implementation requires the compiler to use the recorder
489c9b5090e2 Initial load
duke
parents:
diff changeset
    46
//   in the following order:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    47
//   1) Describe debug information for safepoints at increasing addresses.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    48
//      a) Add safepoint entry (use add_safepoint or add_non_safepoint)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    49
//      b) Describe scopes for that safepoint
489c9b5090e2 Initial load
duke
parents:
diff changeset
    50
//         - create locals if needed (use create_scope_values)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    51
//         - create expressions if needed (use create_scope_values)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    52
//         - create monitor stack if needed (use create_monitor_values)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    53
//         - describe scope (use describe_scope)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    54
//         "repeat last four steps for all scopes"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    55
//         "outer most scope first and inner most scope last"
489c9b5090e2 Initial load
duke
parents:
diff changeset
    56
//         NB: nodes from create_scope_values and create_locations
489c9b5090e2 Initial load
duke
parents:
diff changeset
    57
//             can be reused for simple sharing.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    58
//         - mark the end of the scopes (end_safepoint or end_non_safepoint)
13728
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 7397
diff changeset
    59
//   2) Use oop_size, metadata_size, data_size, pcs_size to create the nmethod
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 7397
diff changeset
    60
//      and finally migrate the debugging information into the nmethod
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    61
//      by calling copy_to.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    62
489c9b5090e2 Initial load
duke
parents:
diff changeset
    63
class DebugToken; // Opaque datatype for stored:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    64
                  //  - GrowableArray<ScopeValue*>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    65
                  //  - GrowableArray<MonitorValue*>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    66
489c9b5090e2 Initial load
duke
parents:
diff changeset
    67
// Alias for InvocationEntryBci.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    68
// Both constants are used for a pseudo-BCI which refers
489c9b5090e2 Initial load
duke
parents:
diff changeset
    69
// to the state just _before_ a method is entered.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    70
// SynchronizationEntryBCI is used where the emphasis
489c9b5090e2 Initial load
duke
parents:
diff changeset
    71
// is on the implicit monitorenter of a synchronized method.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    72
const int SynchronizationEntryBCI = InvocationEntryBci;
489c9b5090e2 Initial load
duke
parents:
diff changeset
    73
489c9b5090e2 Initial load
duke
parents:
diff changeset
    74
class DIR_Chunk; // private class, a nugget of collected information
489c9b5090e2 Initial load
duke
parents:
diff changeset
    75
489c9b5090e2 Initial load
duke
parents:
diff changeset
    76
class DebugInformationRecorder: public ResourceObj {
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
 public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
    78
  // constructor
489c9b5090e2 Initial load
duke
parents:
diff changeset
    79
  DebugInformationRecorder(OopRecorder* oop_recorder);
489c9b5090e2 Initial load
duke
parents:
diff changeset
    80
489c9b5090e2 Initial load
duke
parents:
diff changeset
    81
  // adds an oopmap at a specific offset
489c9b5090e2 Initial load
duke
parents:
diff changeset
    82
  void add_oopmap(int pc_offset, OopMap* map);
489c9b5090e2 Initial load
duke
parents:
diff changeset
    83
489c9b5090e2 Initial load
duke
parents:
diff changeset
    84
  // adds a jvm mapping at pc-offset, for a safepoint only
489c9b5090e2 Initial load
duke
parents:
diff changeset
    85
  void add_safepoint(int pc_offset, OopMap* map);
489c9b5090e2 Initial load
duke
parents:
diff changeset
    86
489c9b5090e2 Initial load
duke
parents:
diff changeset
    87
  // adds a jvm mapping at pc-offset, for a non-safepoint (profile point)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    88
  void add_non_safepoint(int pc_offset);
489c9b5090e2 Initial load
duke
parents:
diff changeset
    89
489c9b5090e2 Initial load
duke
parents:
diff changeset
    90
  // Describes debugging information for a scope at the given pc_offset.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    91
  // Calls must be in non-decreasing order of pc_offset.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    92
  // If there are several calls at a single pc_offset,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    93
  // then they occur in the same order as they were performed by the JVM,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    94
  // with the most recent (innermost) call being described last.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    95
  // For a safepoint, the pc_offset must have been mentioned
489c9b5090e2 Initial load
duke
parents:
diff changeset
    96
  // previously by add_safepoint.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    97
  // Otherwise, the pc_offset must have been mentioned previously
489c9b5090e2 Initial load
duke
parents:
diff changeset
    98
  // by add_non_safepoint, and the locals, expressions, and monitors
489c9b5090e2 Initial load
duke
parents:
diff changeset
    99
  // must all be null.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   100
  void describe_scope(int         pc_offset,
33593
60764a78fa5c 8140274: methodHandles and constantPoolHandles should be passed as const references
coleenp
parents: 33160
diff changeset
   101
                      const methodHandle& methodH,
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   102
                      ciMethod*   method,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   103
                      int         bci,
3600
27aa4477d039 6833129: specjvm98 fails with NullPointerException in the compiler with -XX:DeoptimizeALot
cfang
parents: 1
diff changeset
   104
                      bool        reexecute,
33160
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents: 13728
diff changeset
   105
                      bool        rethrow_exception = false,
4564
55dfb20908d0 6893081: method handle & invokedynamic code needs additional cleanup (post 6815692, 6858164)
twisti
parents: 3795
diff changeset
   106
                      bool        is_method_handle_invoke = false,
4894
8a76fd3d098d 6910618: C2: Error: assert(d->is_oop(),"JVM_ArrayCopy: dst not an oop")
kvn
parents: 4564
diff changeset
   107
                      bool        return_oop = false,
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   108
                      DebugToken* locals      = NULL,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   109
                      DebugToken* expressions = NULL,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   110
                      DebugToken* monitors    = NULL);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   111
489c9b5090e2 Initial load
duke
parents:
diff changeset
   112
489c9b5090e2 Initial load
duke
parents:
diff changeset
   113
  void dump_object_pool(GrowableArray<ScopeValue*>* objects);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   114
489c9b5090e2 Initial load
duke
parents:
diff changeset
   115
  // This call must follow every add_safepoint,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   116
  // after any intervening describe_scope calls.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   117
  void end_safepoint(int pc_offset)      { end_scopes(pc_offset, true); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   118
  void end_non_safepoint(int pc_offset)  { end_scopes(pc_offset, false); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   119
489c9b5090e2 Initial load
duke
parents:
diff changeset
   120
  // helper fuctions for describe_scope to enable sharing
489c9b5090e2 Initial load
duke
parents:
diff changeset
   121
  DebugToken* create_scope_values(GrowableArray<ScopeValue*>* values);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   122
  DebugToken* create_monitor_values(GrowableArray<MonitorValue*>* monitors);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   123
489c9b5090e2 Initial load
duke
parents:
diff changeset
   124
  // returns the size of the generated scopeDescs.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   125
  int data_size();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   126
  int pcs_size();
489c9b5090e2 Initial load
duke
parents:
diff changeset
   127
  int oop_size() { return oop_recorder()->oop_size(); }
13728
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 7397
diff changeset
   128
  int metadata_size() { return oop_recorder()->metadata_size(); }
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   129
489c9b5090e2 Initial load
duke
parents:
diff changeset
   130
  // copy the generated debugging information to nmethod
489c9b5090e2 Initial load
duke
parents:
diff changeset
   131
  void copy_to(nmethod* nm);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   132
489c9b5090e2 Initial load
duke
parents:
diff changeset
   133
  // verifies the debug information
489c9b5090e2 Initial load
duke
parents:
diff changeset
   134
  void verify(const nmethod* code);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   135
489c9b5090e2 Initial load
duke
parents:
diff changeset
   136
  static void print_statistics() PRODUCT_RETURN;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   137
489c9b5090e2 Initial load
duke
parents:
diff changeset
   138
  // Method for setting oopmaps to temporarily preserve old handling of oopmaps
489c9b5090e2 Initial load
duke
parents:
diff changeset
   139
  OopMapSet *_oopmaps;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   140
  void set_oopmaps(OopMapSet *oopmaps) { _oopmaps = oopmaps; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   141
489c9b5090e2 Initial load
duke
parents:
diff changeset
   142
  OopRecorder* oop_recorder() { return _oop_recorder; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   143
489c9b5090e2 Initial load
duke
parents:
diff changeset
   144
  int last_pc_offset() { return last_pc()->pc_offset(); }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   145
489c9b5090e2 Initial load
duke
parents:
diff changeset
   146
  bool recording_non_safepoints() { return _recording_non_safepoints; }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   147
33160
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents: 13728
diff changeset
   148
  PcDesc* pcs() const { return _pcs; }
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents: 13728
diff changeset
   149
  int pcs_length() const { return _pcs_length; }
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents: 13728
diff changeset
   150
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents: 13728
diff changeset
   151
  DebugInfoWriteStream* stream() const { return _stream; }
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents: 13728
diff changeset
   152
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents: 13728
diff changeset
   153
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   154
 private:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   155
  friend class ScopeDesc;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   156
  friend class vframeStreamCommon;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   157
  friend class DIR_Chunk;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   158
489c9b5090e2 Initial load
duke
parents:
diff changeset
   159
  // True if we are recording non-safepoint scopes.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   160
  // This flag is set if DebugNonSafepoints is true, or if
489c9b5090e2 Initial load
duke
parents:
diff changeset
   161
  // JVMTI post_compiled_method_load events are enabled.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   162
  const bool _recording_non_safepoints;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   163
489c9b5090e2 Initial load
duke
parents:
diff changeset
   164
  DebugInfoWriteStream* _stream;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   165
489c9b5090e2 Initial load
duke
parents:
diff changeset
   166
  OopRecorder* _oop_recorder;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   167
489c9b5090e2 Initial load
duke
parents:
diff changeset
   168
  // Scopes that have been described so far.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   169
  GrowableArray<DIR_Chunk*>* _all_chunks;
33160
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents: 13728
diff changeset
   170
#if !INCLUDE_JVMCI
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   171
  GrowableArray<DIR_Chunk*>* _shared_chunks;
33160
c59f1676d27e 8136421: JEP 243: Java-Level JVM Compiler Interface
twisti
parents: 13728
diff changeset
   172
#endif
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   173
  DIR_Chunk* _next_chunk;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   174
  DIR_Chunk* _next_chunk_limit;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   175
489c9b5090e2 Initial load
duke
parents:
diff changeset
   176
#ifdef ASSERT
489c9b5090e2 Initial load
duke
parents:
diff changeset
   177
  enum { rs_null, rs_safepoint, rs_non_safepoint };
489c9b5090e2 Initial load
duke
parents:
diff changeset
   178
  int _recording_state;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   179
#endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
   180
489c9b5090e2 Initial load
duke
parents:
diff changeset
   181
  PcDesc* _pcs;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   182
  int     _pcs_size;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   183
  int     _pcs_length;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   184
  // Note:  Would use GrowableArray<PcDesc>, but structs are not supported.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   185
489c9b5090e2 Initial load
duke
parents:
diff changeset
   186
  // PC of most recent real safepoint before the current one,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   187
  // updated after end_scopes.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   188
  int _prev_safepoint_pc;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   189
489c9b5090e2 Initial load
duke
parents:
diff changeset
   190
  PcDesc* last_pc() {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   191
    guarantee(_pcs_length > 0, "a safepoint must be declared already");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   192
    return &_pcs[_pcs_length-1];
489c9b5090e2 Initial load
duke
parents:
diff changeset
   193
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   194
  PcDesc* prev_pc() {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   195
    guarantee(_pcs_length > 1, "a safepoint must be declared already");
489c9b5090e2 Initial load
duke
parents:
diff changeset
   196
    return &_pcs[_pcs_length-2];
489c9b5090e2 Initial load
duke
parents:
diff changeset
   197
  }
489c9b5090e2 Initial load
duke
parents:
diff changeset
   198
  void add_new_pc_offset(int pc_offset);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   199
  void end_scopes(int pc_offset, bool is_safepoint);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   200
489c9b5090e2 Initial load
duke
parents:
diff changeset
   201
  int  serialize_monitor_values(GrowableArray<MonitorValue*>* monitors);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   202
  int  serialize_scope_values(GrowableArray<ScopeValue*>* values);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   203
  int  find_sharable_decode_offset(int stream_offset);
489c9b5090e2 Initial load
duke
parents:
diff changeset
   204
13728
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 7397
diff changeset
   205
#ifndef PRODUCT
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 7397
diff changeset
   206
  bool recorders_frozen();
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 7397
diff changeset
   207
  void mark_recorders_frozen();
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 7397
diff changeset
   208
#endif // PRODUCT
882756847a04 6964458: Reimplement class meta-data storage to use native memory
coleenp
parents: 7397
diff changeset
   209
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   210
 public:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   211
  enum { serialized_null = 0 };
489c9b5090e2 Initial load
duke
parents:
diff changeset
   212
};
7397
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   213
5b173b4ca846 6989984: Use standard include model for Hospot
stefank
parents: 5547
diff changeset
   214
#endif // SHARE_VM_CODE_DEBUGINFOREC_HPP