8266963: Remove safepoint poll introduced in 8262443 due to reentrance issue
Reviewed-by: rehn, zgu, dholmes
This commit is contained in:
parent
45e05970bc
commit
9c346a1ec7
src/hotspot/share/oops
@ -34,7 +34,6 @@
|
||||
#include "oops/oop.inline.hpp"
|
||||
#include "oops/symbol.hpp"
|
||||
#include "runtime/handles.inline.hpp"
|
||||
#include "runtime/interfaceSupport.inline.hpp"
|
||||
#include "runtime/java.hpp"
|
||||
#include "runtime/os.hpp"
|
||||
#include "runtime/relocator.hpp"
|
||||
@ -907,18 +906,12 @@ void GenerateOopMap::monitor_push(CellTypeState cts) {
|
||||
// Interpretation handling methods
|
||||
//
|
||||
|
||||
void GenerateOopMap::do_interpretation(Thread* thread)
|
||||
void GenerateOopMap::do_interpretation()
|
||||
{
|
||||
// "i" is just for debugging, so we can detect cases where this loop is
|
||||
// iterated more than once.
|
||||
int i = 0;
|
||||
do {
|
||||
if (i != 0 && thread->is_Java_thread()) {
|
||||
JavaThread* jt = thread->as_Java_thread();
|
||||
if (jt->thread_state() == _thread_in_vm) {
|
||||
// Since this JavaThread has looped at least once and is _thread_in_vm,
|
||||
// we honor any pending blocking request.
|
||||
ThreadBlockInVM tbivm(jt);
|
||||
}
|
||||
}
|
||||
#ifndef PRODUCT
|
||||
if (TraceNewOopMapGeneration) {
|
||||
tty->print("\n\nIteration #%d of do_interpretation loop, method:\n", i);
|
||||
@ -2136,7 +2129,7 @@ bool GenerateOopMap::compute_map(Thread* current) {
|
||||
|
||||
// Step 3: Calculate stack maps
|
||||
if (!_got_error)
|
||||
do_interpretation(current);
|
||||
do_interpretation();
|
||||
|
||||
// Step 4:Return results
|
||||
if (!_got_error && report_results())
|
||||
|
@ -374,7 +374,7 @@ class GenerateOopMap {
|
||||
static void reachable_basicblock (GenerateOopMap *c, int deltaBci, int *data);
|
||||
|
||||
// Interpretation methods (primary)
|
||||
void do_interpretation (Thread* thread);
|
||||
void do_interpretation ();
|
||||
void init_basic_blocks ();
|
||||
void setup_method_entry_state ();
|
||||
void interp_all ();
|
||||
|
Loading…
x
Reference in New Issue
Block a user