< prev index next >
src/share/vm/oops/generateOopMap.cpp
Print this page
rev 13014 : imported patch 8180755-remove-bitmap-inline-hpp-include
*** 1,7 ****
/*
! * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 26,42 ****
#include "interpreter/bytecodeStream.hpp"
#include "logging/log.hpp"
#include "oops/generateOopMap.hpp"
#include "oops/oop.inline.hpp"
#include "oops/symbol.hpp"
#include "runtime/handles.inline.hpp"
#include "runtime/java.hpp"
#include "runtime/relocator.hpp"
#include "runtime/timerTrace.hpp"
#include "utilities/bitMap.inline.hpp"
#include "utilities/ostream.hpp"
- #include "prims/methodHandles.hpp"
//
//
// Compute stack layouts for each instruction in method.
//
--- 26,42 ----
#include "interpreter/bytecodeStream.hpp"
#include "logging/log.hpp"
#include "oops/generateOopMap.hpp"
#include "oops/oop.inline.hpp"
#include "oops/symbol.hpp"
+ #include "prims/methodHandles.hpp"
#include "runtime/handles.inline.hpp"
#include "runtime/java.hpp"
#include "runtime/relocator.hpp"
#include "runtime/timerTrace.hpp"
#include "utilities/bitMap.inline.hpp"
#include "utilities/ostream.hpp"
//
//
// Compute stack layouts for each instruction in method.
//
*** 435,444 ****
--- 435,448 ----
if (possible_gc_point(&bcs))
_gc_points++;
}
}
+ inline void GenerateOopMap::set_bbmark_bit(int bci) {
+ _bb_hdr_bits.at_put(bci, true);
+ }
+
void GenerateOopMap::reachable_basicblock(GenerateOopMap *c, int bci, int *data) {
assert(bci>= 0 && bci < c->method()->code_size(), "index out of bounds");
BasicBlock* bb = c->get_basic_block_at(bci);
if (bb->is_dead()) {
bb->mark_as_alive();
< prev index next >