[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    RFR: 8258032: Reconsider LEAF entry restrictions
From:       Coleen Phillimore <coleenp () openjdk ! java ! net>
Date:       2020-12-18 19:43:05
Message-ID: P3GEgWAjxSeh_viXPx7V24H1sQiWqmDFxe97ylDG7fk=.434d0b1c-da31-4473-ba64-8327888f898f () github ! com
[Download RAW message or body]

This change allows JRT_LEAF functions to create Handles because it doesn't need them \
but some code inside the VM needs Handles.  There's a NoSafepointVerifier in JRT_LEAF \
functions. The JNI_LEAF and JVM_LEAF functions have NoHandleMark (so you can't create \
handles) but the transition ThreadInVMfromNative will reenable the HandleMarks, so \
that all this code doesn't have to do it itself. Tested with tier1-6.

-------------

Commit messages:
 - 8258032: Reconsider LEAF entry restrictions

Changes: https://git.openjdk.java.net/jdk/pull/1846/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1846&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8258032
  Stats: 102 lines in 17 files changed: 7 ins; 69 del; 26 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1846.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1846/head:pull/1846

PR: https://git.openjdk.java.net/jdk/pull/1846


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic