RFR: 8264149 BreakpointInfo::set allocates metaspace object in VM thread [v2]

Coleen Phillimore coleenp at openjdk.java.net
Mon Mar 29 21:22:06 UTC 2021


> This change creates a Metaspace::allocate function that doesn't pass TRAPS to be used by MethodCounters.  TRAPS and exceptions shouldn't be thrown from non-JavaThreads.
> 
> Tested with tier1-7.

Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:

  Only allow non-TRAPS version of Metaspace::allocate at a safepoint (or by non-Java thread)

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3207/files
  - new: https://git.openjdk.java.net/jdk/pull/3207/files/3da8d1b5..bd7c32d4

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3207&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3207&range=00-01

  Stats: 17 lines in 4 files changed: 13 ins; 0 del; 4 mod
  Patch: https://git.openjdk.java.net/jdk/pull/3207.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/3207/head:pull/3207

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


More information about the hotspot-dev mailing list