Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8265484: Fix up TRAPS usage in GenerateOopMap::compute_map and callers #3580

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
@@ -302,9 +302,7 @@ bool ciMethod::has_balanced_monitors() {
ResourceMark rm(THREAD);
GeneratePairingInfo gpi(method);
if (!gpi.compute_map(THREAD)) {
// Failure is only possible for a resource-area OOM, or malformed bytecode
// with verification disabled.
assert(false, "Unexpected exception from compute_map");
fatal("Unrecoverable verification or out-of-memory error");
}
if (!gpi.monitor_safe()) {
return false;
@@ -110,9 +110,7 @@ bool OopMapForCacheEntry::compute_map(Thread* current) {
} else {
ResourceMark rm;
if (!GenerateOopMap::compute_map(current)) {
// Failure is only possible for a resource-area OOM, or malformed bytecode
// with verification disabled.
assert(false, "Unexpected exception from compute_map");
fatal("Unrecoverable verification or out-of-memory error");
return false;
}
result_for_basicblock(_bci);
@@ -341,9 +339,7 @@ void OopMapCacheEntry::fill(const methodHandle& method, int bci) {
} else {
OopMapForCacheEntry gen(method, bci, this);
if (!gen.compute_map(Thread::current())) {
// Failure is only possible for a resource-area OOM, or malformed bytecode
// with verification disabled.
assert(false, "Unexpected exception from compute_map");
fatal("Unrecoverable verification or out-of-memory error");
}
}
}