Skip to content

Commit

Permalink
Merge pull request #11595 from pshipton/loadlib24
Browse files Browse the repository at this point in the history
(0.24.0) JVM_LoadLibrary() must use lazy library loading by default
  • Loading branch information
keithc-ca authored Jan 7, 2021
2 parents 87a710e + 849049b commit 1e1c84e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion runtime/j9vm/jvm.c
Original file line number Diff line number Diff line change
Expand Up @@ -3692,7 +3692,7 @@ JVM_LoadLibrary(const char *libName)
} else {
PORT_ACCESS_FROM_JAVAVM(javaVM);
UDATA handle = 0;
UDATA flags = 0;
UDATA flags = J9_ARE_ANY_BITS_SET(javaVM->extendedRuntimeFlags, J9_EXTENDED_RUNTIME_LAZY_SYMBOL_RESOLUTION) ? J9PORT_SLOPEN_LAZY : 0;
UDATA slOpenResult = j9sl_open_shared_library((char *)libName, &handle, flags);

Trc_SC_LoadLibrary_OpenShared(libName);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
Copyright (c) 2020, 2020 IBM Corp. and others
Copyright (c) 2020, 2021 IBM Corp. and others
This program and the accompanying materials are made available under
the terms of the Eclipse Public License 2.0 which accompanies this
Expand Down Expand Up @@ -44,11 +44,6 @@
<types>
<type>native</type>
</types>
<subsets>
<!-- disable for 15+ https://github.com/eclipse/openj9/issues/11076 -->
<subset>8</subset>
<subset>11</subset>
</subsets>
<impls>
<impl>openj9</impl>
<impl>ibm</impl>
Expand Down

0 comments on commit 1e1c84e

Please sign in to comment.