Skip to end of metadata
Go to start of metadata

MVEL allows you to disable the JIT compiler if for whatever reason it is undesirable to be generating classes. There are two ways of doing this:

  • Via the system property mvel.disable.jit
  • Through the OptimizerFactory class

The first way is straight forward (as a parameter to the JVM):

The second way is straight forward, but worthy of some additional explanation:

MVEL uses pluggable optimizers to deal with optimizing the AST and acessors, and is therefore the reason for the use of a named optimizer here, in this case reflective.

Per Instance Setting

At this time, MVEL does not support per instance configuration of the JIT due to performance constraints.

Labels
  • None