src/hotspot/share/runtime/frame.hpp
changeset 49364 601146c66cad
parent 47216 71c04702a3d5
child 49397 d3a8aa01f26f
equal deleted inserted replaced
49363:7be58576e71a 49364:601146c66cad
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2018, 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.
    45 // can be C or Java frames, and the Java frames can be interpreted or
    45 // can be C or Java frames, and the Java frames can be interpreted or
    46 // compiled.  In contrast, vframes represent source-level activations,
    46 // compiled.  In contrast, vframes represent source-level activations,
    47 // so that one physical frame can correspond to multiple source level
    47 // so that one physical frame can correspond to multiple source level
    48 // frames because of inlining.
    48 // frames because of inlining.
    49 
    49 
    50 class frame VALUE_OBJ_CLASS_SPEC {
    50 class frame {
    51  private:
    51  private:
    52   // Instance variables:
    52   // Instance variables:
    53   intptr_t* _sp; // stack pointer (from Thread::last_Java_sp)
    53   intptr_t* _sp; // stack pointer (from Thread::last_Java_sp)
    54   address   _pc; // program counter (the next instruction after the call)
    54   address   _pc; // program counter (the next instruction after the call)
    55 
    55 
   424 
   424 
   425 };
   425 };
   426 
   426 
   427 #ifndef PRODUCT
   427 #ifndef PRODUCT
   428 // A simple class to describe a location on the stack
   428 // A simple class to describe a location on the stack
   429 class FrameValue VALUE_OBJ_CLASS_SPEC {
   429 class FrameValue {
   430  public:
   430  public:
   431   intptr_t* location;
   431   intptr_t* location;
   432   char* description;
   432   char* description;
   433   int owner;
   433   int owner;
   434   int priority;
   434   int priority;