Skip to content

Commit 78cc634

Browse files
Dmitry ChuykoPaul Hohensee
authored andcommitted
8295274: HelidonAppTest.java fails "assert(event->should_commit()) failed: invariant" from compiled frame"
Backport-of: 21e4f06ada24098dad4e71b0f9c13afeff87c24b
1 parent a8ea3c2 commit 78cc634

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

src/hotspot/share/classfile/systemDictionary.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,6 @@ InstanceKlass* SystemDictionary::handle_parallel_loading(JavaThread* current,
571571
void SystemDictionary::post_class_load_event(EventClassLoad* event, const InstanceKlass* k, const ClassLoaderData* init_cld) {
572572
assert(event != NULL, "invariant");
573573
assert(k != NULL, "invariant");
574-
assert(event->should_commit(), "invariant");
575574
event->set_loadedClass(k);
576575
event->set_definingClassLoader(k->class_loader_data());
577576
event->set_initiatingClassLoader(init_cld);

src/hotspot/share/prims/unsafe.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -798,7 +798,6 @@ UNSAFE_ENTRY(jboolean, Unsafe_CompareAndSetLong(JNIEnv *env, jobject unsafe, job
798798

799799
static void post_thread_park_event(EventThreadPark* event, const oop obj, jlong timeout_nanos, jlong until_epoch_millis) {
800800
assert(event != NULL, "invariant");
801-
assert(event->should_commit(), "invariant");
802801
event->set_parkedClass((obj != NULL) ? obj->klass() : NULL);
803802
event->set_timeout(timeout_nanos);
804803
event->set_until(until_epoch_millis);

src/hotspot/share/runtime/synchronizer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1224,7 +1224,6 @@ static void post_monitor_inflate_event(EventJavaMonitorInflate* event,
12241224
const oop obj,
12251225
ObjectSynchronizer::InflateCause cause) {
12261226
assert(event != NULL, "invariant");
1227-
assert(event->should_commit(), "invariant");
12281227
event->set_monitorClass(obj->klass());
12291228
event->set_address((uintptr_t)(void*)obj);
12301229
event->set_cause((u1)cause);

src/hotspot/share/runtime/vmThread.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ void VMThread::wait_for_vm_thread_exit() {
245245

246246
static void post_vm_operation_event(EventExecuteVMOperation* event, VM_Operation* op) {
247247
assert(event != NULL, "invariant");
248-
assert(event->should_commit(), "invariant");
249248
assert(op != NULL, "invariant");
250249
const bool evaluate_at_safepoint = op->evaluate_at_safepoint();
251250
event->set_operation(op->type());

0 commit comments

Comments
 (0)