On Tue, 9 Mar 2021 17:59:26 GMT, Alexey Ushakov <a...@openjdk.org> wrote:

>> In fact, we don't have any scratch surfaces. SET_SCRATCH_SURFACE effectively 
>> sets the new context. For better readability, we should add the new op 
>> SET_CONTEXT in BufferedOpCodes
>
> Probably it's enough to set the context in SET_SURFACES, I'll double-check it.

Looks like it works even without SET_SCRATCH_SURFACE (I did some limited 
testing) but I don't think we should do such a huge change at this moment.

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

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

Reply via email to