< prev index next >

src/hotspot/share/runtime/interfaceSupport.cpp

Print this page




  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  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "gc/shared/collectedHeap.hpp"
  27 #include "gc/shared/collectedHeap.inline.hpp"
  28 #include "memory/resourceArea.hpp"
  29 #include "runtime/atomic.hpp"
  30 #include "runtime/frame.inline.hpp"
  31 #include "runtime/handles.inline.hpp"
  32 #include "runtime/init.hpp"
  33 #include "runtime/interfaceSupport.inline.hpp"
  34 #include "runtime/orderAccess.inline.hpp"
  35 #include "runtime/os.inline.hpp"
  36 #include "runtime/thread.inline.hpp"
  37 #include "runtime/safepointVerifiers.hpp"
  38 #include "runtime/vframe.hpp"
  39 #include "runtime/vmThread.hpp"
  40 #include "utilities/preserveException.hpp"
  41 
  42 // Implementation of InterfaceSupport
  43 
  44 #ifdef ASSERT
  45 VMEntryWrapper::VMEntryWrapper() {
  46   if (VerifyLastFrame) {
  47     InterfaceSupport::verify_last_frame();
  48   }
  49 }
  50 
  51 VMEntryWrapper::~VMEntryWrapper() {
  52   InterfaceSupport::check_gc_alot();
  53   if (WalkStackALot) {
  54     InterfaceSupport::walk_stack();




  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  *
  23  */
  24 
  25 #include "precompiled.hpp"
  26 #include "gc/shared/collectedHeap.hpp"
  27 #include "gc/shared/collectedHeap.inline.hpp"
  28 #include "memory/resourceArea.hpp"
  29 #include "runtime/atomic.hpp"
  30 #include "runtime/frame.inline.hpp"
  31 #include "runtime/handles.inline.hpp"
  32 #include "runtime/init.hpp"
  33 #include "runtime/interfaceSupport.inline.hpp"
  34 #include "runtime/orderAccess.hpp"
  35 #include "runtime/os.inline.hpp"
  36 #include "runtime/thread.inline.hpp"
  37 #include "runtime/safepointVerifiers.hpp"
  38 #include "runtime/vframe.hpp"
  39 #include "runtime/vmThread.hpp"
  40 #include "utilities/preserveException.hpp"
  41 
  42 // Implementation of InterfaceSupport
  43 
  44 #ifdef ASSERT
  45 VMEntryWrapper::VMEntryWrapper() {
  46   if (VerifyLastFrame) {
  47     InterfaceSupport::verify_last_frame();
  48   }
  49 }
  50 
  51 VMEntryWrapper::~VMEntryWrapper() {
  52   InterfaceSupport::check_gc_alot();
  53   if (WalkStackALot) {
  54     InterfaceSupport::walk_stack();


< prev index next >