Skip to content

Commit 21e4f06

Browse files
author
Markus Grönlund
committed
8295274: HelidonAppTest.java fails "assert(event->should_commit()) failed: invariant" from compiled frame"
Reviewed-by: egahlin
1 parent f31c80d commit 21e4f06

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
@@ -608,7 +608,6 @@ InstanceKlass* SystemDictionary::handle_parallel_loading(JavaThread* current,
608608
void SystemDictionary::post_class_load_event(EventClassLoad* event, const InstanceKlass* k, const ClassLoaderData* init_cld) {
609609
assert(event != NULL, "invariant");
610610
assert(k != NULL, "invariant");
611-
assert(event->should_commit(), "invariant");
612611
event->set_loadedClass(k);
613612
event->set_definingClassLoader(k->class_loader_data());
614613
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
@@ -753,7 +753,6 @@ UNSAFE_ENTRY(jboolean, Unsafe_CompareAndSetLong(JNIEnv *env, jobject unsafe, job
753753

754754
static void post_thread_park_event(EventThreadPark* event, const oop obj, jlong timeout_nanos, jlong until_epoch_millis) {
755755
assert(event != NULL, "invariant");
756-
assert(event->should_commit(), "invariant");
757756
event->set_parkedClass((obj != NULL) ? obj->klass() : NULL);
758757
event->set_timeout(timeout_nanos);
759758
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
@@ -1200,7 +1200,6 @@ static void post_monitor_inflate_event(EventJavaMonitorInflate* event,
12001200
const oop obj,
12011201
ObjectSynchronizer::InflateCause cause) {
12021202
assert(event != NULL, "invariant");
1203-
assert(event->should_commit(), "invariant");
12041203
event->set_monitorClass(obj->klass());
12051204
event->set_address((uintptr_t)(void*)obj);
12061205
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
@@ -258,7 +258,6 @@ void VMThread::wait_for_vm_thread_exit() {
258258

259259
static void post_vm_operation_event(EventExecuteVMOperation* event, VM_Operation* op) {
260260
assert(event != NULL, "invariant");
261-
assert(event->should_commit(), "invariant");
262261
assert(op != NULL, "invariant");
263262
const bool evaluate_at_safepoint = op->evaluate_at_safepoint();
264263
event->set_operation(op->type());

0 commit comments

Comments
 (0)