~ubuntu-branches/ubuntu/jaunty/openjdk-6/jaunty-security

« back to all changes in this revision

Viewing changes to ports/hotspot/src/share/vm/shark/sharkState.hpp

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose, Edward Nevill, Matthias Klose
  • Date: 2009-03-02 16:18:01 UTC
  • Revision ID: james.westby@ubuntu.com-20090302161801-rubk3yhm8j0au4y1
Tags: 6b14-0ubuntu17
[ Edward Nevill ]
* Remove VFP from asm loop
* Disble the mauve testsuite for armel.

[Matthias Klose]
* Update IcedTea (20090302).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * Copyright 1999-2007 Sun Microsystems, Inc.  All Rights Reserved.
3
 
 * Copyright 2008 Red Hat, Inc.
 
3
 * Copyright 2008, 2009 Red Hat, Inc.
4
4
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
5
 *
6
6
 * This code is free software; you can redistribute it and/or modify it
153
153
class SharkTrackingState : public SharkState {
154
154
 public:
155
155
  SharkTrackingState(const SharkState* state)
156
 
    : SharkState(state) { set_method(state->method()); }
 
156
    : SharkState(state)
 
157
  {
 
158
    set_method(state->method());
 
159
    NOT_PRODUCT(set_has_stack_frame(true));
 
160
  }
157
161
 
158
162
  // Cache and decache
159
163
 public:
172
176
  void merge(SharkState*       other,
173
177
             llvm::BasicBlock* other_block,
174
178
             llvm::BasicBlock* this_block);
 
179
 
 
180
  // Inlining
 
181
#ifndef PRODUCT
 
182
 private:
 
183
  bool _has_stack_frame;
 
184
 
 
185
 protected:
 
186
  bool has_stack_frame() const
 
187
  {
 
188
    return _has_stack_frame;
 
189
  }
 
190
  void set_has_stack_frame(bool has_stack_frame)
 
191
  {
 
192
    _has_stack_frame = has_stack_frame;
 
193
  }
 
194
#endif // PRODUCT
 
195
 
 
196
 public:
 
197
  void enter_inlined_section() PRODUCT_RETURN;
 
198
  void leave_inlined_section() PRODUCT_RETURN;
175
199
};