Skip to content

Bytecode layout deviations from 2.11 related to synchronized #94

Closed
@retronym

Description

@retronym

https://gist.github.com/retronym/919cd6279eae31db2958

I haven't benchmarked to see if this makes a difference in C1 / C2 performance, but it might be worth replicating the status quo here and stick the exception handlers at the end of the method.

I noticed the difference in the bytecode of newTermName, which was showing up in my 2.12.x profiling.

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions