Skip to content

[GR-45332] Fix various espresso issues.#6512

Merged
graalvmbot merged 18 commits into
masterfrom
gd/espresso-misc
Apr 29, 2023
Merged

[GR-45332] Fix various espresso issues.#6512
graalvmbot merged 18 commits into
masterfrom
gd/espresso-misc

Conversation

@graalvmbot

Copy link
Copy Markdown
Collaborator

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement Bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Apr 27, 2023
RTLD_LOCAL is not the default on all platforms.
It is important that JNI libraries are not loaded globally to avoid
symbols like JNI_OnLoad_<libname> to be visible in the global scope.
* The polyglot context lock must be acquired to submit a thread local
  action.
* `DeprecationSupport.exit` is called from the `disposeThread` path
  which is called by polyglot while holding the context lock. It is
  synchronized and can lead to code trying to submit a local action.
* To avoid issues, only submit thread local actions while not holding
  the `DeprecationSupport` lock.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants