You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backport ASM 6.2 upgrade to 2.11.x via 2.12.x (scala#6733)
Avoid performance problem after ASM upgrade in prod/cons analysis
ASM 6.2 now creates a new Frame inside the loop in which
`newExceptionValue` is called. We were including this frame
in the case-class equality of the pseudo-instruction,
`ExceptionProducer`, and upon receiving new instances each
time the `ProdCons` analysis massively slowed down.
This commit just captures the data we need: the stack top of the
handler frame.
Upgrade to scala-asm 6.2
See: scala/scala-asm#5
Upstream changes in ASM:
scala/scala-asm@ASM_6_0...ASM_6_2http://asm.ow2.io/versions.html
The motivations, other than just keeping current, are:
- support for Java 9/10/11 updates to the classfile format.
- reducing needless String => Array[Char] conversions thanks
to internal changes in ASM.
This PR will fail to build until we publish artifact
from scala/scala-asm.
Includes a workaround for scala/bug#10418
Move to the standard way of defining a custom asm.Attribute
It seems we don't need CustomAttr in our fork of scala-asm,
we can just override Attribute.write.
Customise label handling without needing to modify ASM directly
Comment on our customizations to asm.tree.*Node
(cherry picked from commit 79b7f2a)
0 commit comments