Skip to content

Commit c738c8e

Browse files
author
Markus Grönlund
committedApr 19, 2023
8306278: jvmtiAgentList.cpp:253 assert(offset >= 0) failed: invariant occurs on AIX after JDK-8257967
Reviewed-by: sspitsyn, dholmes, mbaesken
1 parent 9fb53ad commit c738c8e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed
 

‎src/hotspot/share/prims/jvmtiAgentList.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@ JvmtiAgent* JvmtiAgentList::lookup(JvmtiEnv* env, void* f_ptr) {
245245
return nullptr;
246246
}
247247
assert(buffer[0] != '\0', "invariant");
248-
assert(offset >= 0, "invariant");
249248
const void* const os_module_address = reinterpret_cast<address>(f_ptr) - offset;
250249

251250
JvmtiAgentList::Iterator it = JvmtiAgentList::agents();

1 commit comments

Comments
 (1)

openjdk-notifier[bot] commented on Apr 19, 2023

@openjdk-notifier[bot]
Please sign in to comment.