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

Coleen Phillimore coleenp at openjdk.java.net
Tue Mar 30 03:06:11 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:

  Make which version of MethodCounters::allocate() is called clearer.

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

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

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

  Stats: 16 lines in 1 file changed: 8 ins; 1 del; 7 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