groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Sun (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GROOVY-8526) Check Unbalanced monitorenter / monitorexit instructions in bytecode
Date Wed, 04 Apr 2018 02:21:00 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-8526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Sun updated GROOVY-8526:
-------------------------------
    Description: 
As [https://github.com/jacoco/jacoco/issues/626#issuecomment-349466549] shows:

"methods with unstructured locking aren't compiled and fall back to the interpreter", i.e.
no JIT optimizations, which will impact performance.

We should check whether groovy contains similar issues in bytecode.

Java9+ is required and add JVM options to check: "-XX:+PrintCompilation -Xlog:monitormismatch=info"

  was:
As [https://github.com/jacoco/jacoco/issues/626#issuecomment-349466549] shows:

"methods with unstructured locking aren't compiled and fall back to the interpreter", which
will impact performance.

We should check whether groovy contains similar issues in bytecode.

Java9+ is required and add JVM options to check: "-XX:+PrintCompilation -Xlog:monitormismatch=info"


> Check Unbalanced monitorenter / monitorexit instructions in bytecode
> --------------------------------------------------------------------
>
>                 Key: GROOVY-8526
>                 URL: https://issues.apache.org/jira/browse/GROOVY-8526
>             Project: Groovy
>          Issue Type: Task
>          Components: bytecode
>            Reporter: Daniel Sun
>            Priority: Major
>
> As [https://github.com/jacoco/jacoco/issues/626#issuecomment-349466549] shows:
> "methods with unstructured locking aren't compiled and fall back to the interpreter",
i.e. no JIT optimizations, which will impact performance.
> We should check whether groovy contains similar issues in bytecode.
> Java9+ is required and add JVM options to check: "-XX:+PrintCompilation -Xlog:monitormismatch=info"



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message