RFR: 8310829: guarantee(!HAS_PENDING_EXCEPTION) failed in ExceptionTranslation::doit [v4]

Tom Rodriguez never at openjdk.org
Wed Jun 28 18:31:57 UTC 2023


On Tue, 27 Jun 2023 21:29:53 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

>> The VMSupport class is required for translating an exception between the HotSpot and libgraal heaps.
>> Loading it lazily can result in a loading exception, obscuring the exception being translated.
>> To avoid this, VMSupport is loaded eagerly along with the other vmClasses.
>
> Doug Simon has updated the pull request incrementally with one additional commit since the last revision:
> 
>   revert to lazy loading of VMSupport

Right, I was forgetting about the virtual nature of this code.  Why can't the pending exception handling be in the respective virtual?  The partition between virtual and shared is kind of ugly.

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

PR Comment: https://git.openjdk.org/jdk/pull/14641#issuecomment-1611888908


More information about the hotspot-dev mailing list