
public class CodeSplitters extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
MIN_FRAGMENT_SIZE |
| Constructor and Description |
|---|
CodeSplitters() |
| Modifier and Type | Method and Description |
|---|---|
static JRunAsync |
findRunAsync(String refString,
JProgram program,
TreeLogger branch)
Find a split point as designated in the
PROP_INITIAL_SEQUENCE
configuration property. |
static int |
getNumberOfExclusiveFragmentFromExpectedFragmentCount(int numberOfInitialAsyncs,
int expectedFragmentCount)
Returns the number of exclusive fragments from the expected number of fragments.
|
static void |
pickInitialLoadSequence(TreeLogger logger,
JProgram program,
Properties properties)
Choose an initial load sequence of split points for the specified program.
|
public static final String MIN_FRAGMENT_SIZE
public static void pickInitialLoadSequence(TreeLogger logger, JProgram program, Properties properties) throws UnableToCompleteException
AsyncFragmentLoader.initialLoadSequence
in the program being compiled.UnableToCompleteException - If the module specifies a bad load orderpublic static JRunAsync findRunAsync(String refString, JProgram program, TreeLogger branch) throws UnableToCompleteException
PROP_INITIAL_SEQUENCE
configuration property.UnableToCompleteExceptionpublic static int getNumberOfExclusiveFragmentFromExpectedFragmentCount(int numberOfInitialAsyncs,
int expectedFragmentCount)
Copyright © 2018. All rights reserved.