Re: RFR: 8308762: Metaspace leak with Instrumentation.retransform [v7]

2023-09-20 Thread Jean-Philippe Bempel
On Wed, 20 Sep 2023 16:13:50 GMT, Jean-Philippe Bempel wrote: >> Fix a small leak in constant pool merging during retransformation of a >> class. If this class has a catch block with `Throwable`, the class >> `Throwable` is pre-resolved in the constant pool, while all the other >> classes are

Re: RFR: 8308762: Metaspace leak with Instrumentation.retransform [v7]

2023-09-20 Thread David Holmes
On Wed, 20 Sep 2023 16:13:50 GMT, Jean-Philippe Bempel wrote: >> Fix a small leak in constant pool merging during retransformation of a >> class. If this class has a catch block with `Throwable`, the class >> `Throwable` is pre-resolved in the constant pool, while all the other >> classes are

Re: RFR: 8308762: Metaspace leak with Instrumentation.retransform [v7]

2023-09-20 Thread Jean-Philippe Bempel
> Fix a small leak in constant pool merging during retransformation of a class. > If this class has a catch block with `Throwable`, the class `Throwable` is > pre-resolved in the constant pool, while all the other classes are in a > unresolved state. So the constant pool merging process was cons