Object

com.twitter.scrooge.linter.LintRule

CompilerOptimizedMethodParamLimit

Related Doc: package LintRule

Permalink

object CompilerOptimizedMethodParamLimit extends LintRule

Linear Supertypes
LintRule, (Document) ⇒ Iterable[LintMessage], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompilerOptimizedMethodParamLimit
  2. LintRule
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val OptimalLimit: Int

    Permalink

    It turns out that C2 jvm compiler has a limit on the number of fields a method can take.

    It turns out that C2 jvm compiler has a limit on the number of fields a method can take. The limit is between 66 and 69.

    When a method M takes more fields than the limit, then C2 compiler refuses to compile the method and marks the method as not compilable at all tiers. This makes every subsequently compiled call to M a call into the interpreter causing hotspots and high CPU times/throttling.

    Attributes
    protected[com.twitter.scrooge.linter]
  5. def andThen[A](g: (Iterable[LintMessage]) ⇒ A): (Document) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  6. def apply(doc: Document): Seq[LintMessage]

    Permalink
    Definition Classes
    CompilerOptimizedMethodParamLimit → Function1
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def compose[A](g: (A) ⇒ Document): (A) ⇒ Iterable[LintMessage]

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def name: String

    Permalink
    Definition Classes
    LintRule
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. def requiresIncludes: Boolean

    Permalink
    Definition Classes
    LintRule
  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    Function1 → AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LintRule

Inherited from (Document) ⇒ Iterable[LintMessage]

Inherited from AnyRef

Inherited from Any

Ungrouped