summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | Simplify set0 and get0 method to enable Jit inliningmikaelpeltier2015-03-261-32/+2
| |/ / / / | | | | | | | | | | | | | | | Change-Id: I3cec0e9d56f55e5d784343573f99cd668b3727f2
* | | | | Merge "Fix closing order in OutputJackLibraryImpl" into ub-jackBenoit Lamarche2015-03-271-6/+10
|\ \ \ \ \
| * | | | | Fix closing order in OutputJackLibraryImplBenoit Lamarche2015-03-261-6/+10
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | The Properties OutputStream should be closed before closing the VFS. Change-Id: I456b49ecd3b9511d7f7ad736b74ebb7c4cb02984
* | | | | Force UTF-8 encoding when compiling our projectsJean-Marie Henaff2015-03-272-19/+32
| |/ / / |/| | | | | | | | | | | Change-Id: Id30857589b0b3ca39aa006d82e488d4d2142fd90
* | | | Fix problem in Jack scriptJean-Philippe Lesot2015-03-271-5/+1
| | | | | | | | | | | | | | | | Change-Id: I734d192591ce8ea2fb1029c3bc06432f6c41ffb2
* | | | Use simple framework to make a simple http server for jackJean-Philippe Lesot2015-03-279-67/+772
| | | | | | | | | | | | | | | | | | | | | | | | Also modify script to use this simple http server. Change-Id: Ibcf01b80fd618d58aab0aec111e97af103bde6db
* | | | Add Simple frameworkJean-Marie Henaff2015-03-2710-1/+112
|/ / / | | | | | | | | | Change-Id: I2af09f6317322e5dd9d5546dd998dc3c2062ca26
* | | Fix strange compilation behavior of jack-intermediate by AntYohann Roussel2015-03-251-25/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Making ant after ant clean && ant was still compiling jack-intermediates. An extra call to ant was needed to reach a fixed point. Also remove invalid of jack-intermediate-check Change-Id: I9bbb04423fa10d46c5ec21d3b0ed449822552350
* | | Remove proguard warnings that are again printmikaelpeltier2015-03-241-10/+0
| | | | | | | | | | | | | | | Bug: 19637337 Change-Id: Idf484e7e382889ff15445927100b2d6127935b10
* | | Add support of list of detectors, and set long-run beside deadlockJean-Philippe Lesot2015-03-236-33/+41
| |/ |/| | | | | Change-Id: Ib62b02a2ca7c495d98c42269664697a4b37fb9dd
* | Merge "Add InputStreamProvider and OutputStreamProvider" into ub-jackmikaelpeltier2015-03-2334-88/+170
|\ \
| * | Add InputStreamProvider and OutputStreamProvidermikaelpeltier2015-03-2334-88/+170
| | | | | | | | | | | | | | | | | | | | | - Add common interface between VFile and StreamFile that will allow to read or write them. Change-Id: I1721932c7e68770edae53a431d4a9a3ca664ae72
* | | Merge "Make Tokenizer.tokenMap private static final" into ub-jackWojciech Staszkiewicz2015-03-231-1/+2
|\ \ \
| * | | Make Tokenizer.tokenMap private static finalWojciech Staszkiewicz2015-03-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During incremental compilation of Music app we create 5,263 instances of Tokenizer. It makes sense for them to share one copy of tokenMap to save memory (~400B per instance). They can do it because tokenMap content is never mutated. Change-Id: Ib651e00da78cca865c883d57d819264deea81c0e
* | | | Make CommonReporter asynchronous.Wojciech Staszkiewicz2015-03-233-25/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently reporting is blocking, which leads to significiant overhead due to large number of warnings generated by Jack. During my tests on incremental builds of Music app i observed 7% speedup when compiling for the first time with default verbosity and 30% speedup on subsequent dummy incremental compilations with info verbosity. Change-Id: I7c19e38480c359c782eee3d8c6fb10a0e6e5efcd
* | | | Merge "Move default-lib files to jack/build" into ub-jackYohann Roussel2015-03-231-1/+1
|\ \ \ \ | |_|/ / |/| | |
| * | | Move default-lib files to jack/buildYohann Roussel2015-03-201-1/+1
| | | | | | | | | | | | | | | | Change-Id: Ie0e5a47331aadb59ef6c244158b00c87ddfd0e2f
* | | | Better crash management of Jack serverJean-Philippe Lesot2015-03-202-59/+95
| | | | | | | | | | | | | | | | | | | | Bug: 19864067 Change-Id: I494bc0587cb2cfcc8ecab8290d9478b6f214758c
* | | | Merge "Fix FindBugs error in ReferenceMapper." into ub-jackPiotr Jastrzebski2015-03-201-20/+22
|\ \ \ \
| * | | | Fix FindBugs error in ReferenceMapper.Piotr Jastrzebski2015-03-201-20/+22
| | | | | | | | | | | | | | | | | | | | Change-Id: I147f4f22e80a2f1f7fa23bc6c4616d2fdc6f63c9
* | | | | Move check on source file before using itmikaelpeltier2015-03-203-15/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Until now some checks on source files were done by codec before uses them into filter implmentations and others (files contained into folders) was done later into JackBatchCompiler. Move check into CommonFilter and execute it before using files. Change-Id: I6c80bfcd1843485c9184e9989c640b15d4546d16
* | | | | Merge "Rename WithLocationException to WithLocationIOException" into ub-jackBenoit Lamarche2015-03-2010-13/+13
|\ \ \ \ \
| * | | | | Rename WithLocationException to WithLocationIOExceptionBenoit Lamarche2015-03-2010-13/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I think that there is a strong risk that developers may extend WithLocationException without realizing they're making it an IOException. Changing the name may help avoiding this. Change-Id: I189b47d59c5b0a976e4031f1dd187b3395dbca75
* | | | | | Merge "Use Session.getHooks() in InputFilter(s)" into ub-jackYohann Roussel2015-03-205-46/+7
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Use Session.getHooks() in InputFilter(s)Yohann Roussel2015-03-195-46/+7
| | |/ / / | |/| | | | | | | | | | | | | Change-Id: I79c3f179f70ba0c1766c01581e4e038b714d2f10
* | | | | Make Jack script more robustJean-Philippe Lesot2015-03-205-111/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add small support of interruptions, but no synchronization with the compilation server. - Add support of space in command line, but do not support double quote. - Stale lock support. - More robust server by being over-conservative. Change-Id: Ia5fe022e6b820c9c589a1d524278eed0b8009a48
* | | | | Merge "Fix some javadoc in VariableName" into ub-jackJean-Philippe Lesot2015-03-201-2/+5
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | Fix some javadoc in VariableNameJean-Philippe Lesot2015-03-161-2/+5
| | | | | | | | | | | | | | | | | | | | Change-Id: I2d232af8d7afefd14423799edfbc4efa85da018d
* | | | | Merge "Store RunnableHooks in JSession" into ub-jackYohann Roussel2015-03-192-0/+16
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Store RunnableHooks in JSessionYohann Roussel2015-03-192-0/+16
| | | | | | | | | | | | | | | | | | | | Change-Id: I48d8edf49562ef7a8864b6ab1f8024cfc9059e04
* | | | | Stop creating message in NonSuchFileException unnecessarilyPiotr Jastrzebski2015-03-1919-75/+280
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NoSuchFileException is thrown 29686 times during compilation of Music app but its message is not obtained even once. location.getDescription is not a cheap operation and message creation uses string concatenation as well. Instead of creating a message eagerily this change stores a reference to a location in the NonSuchFileExpection object and creates the message only when it's needed. This speeds up the creation of NoSuchFileException almost 40 times which makes a difference if we multiply it by almost 30k times it's created. We will also save on GC as it saves at least 3 object creations per NoSuchFileException which makes over 90k object creations saved. Fix also other exceptions in com.android.sched.util.file. Change-Id: Ibc2a413891a2e24be786f440196e9a4276215cc0
* | | | Clear warnings of InputJackLibraryYohann Roussel2015-03-191-1/+8
| | | | | | | | | | | | | | | | Change-Id: I6d682a1b5291d0c0f79a0431f4faba8aa1f29c66
* | | | Make PairCodec use a Pair instead of a Map.EntryYohann Roussel2015-03-196-41/+85
| | | | | | | | | | | | | | | | Change-Id: Iaf77aa13a0f62e6dbf607e80f6a451d20aa94391
* | | | Access annotation processor options through propertiesYohann Roussel2015-03-192-16/+15
| | | | | | | | | | | | | | | | Change-Id: I49bb247f731460ab7c5665fd786c918367d63bee
* | | | No target should depend on core-stubs-miniYohann Roussel2015-03-191-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Because it is a prebuilt and should not be automatically rebuilt. Change-Id: I1b199def41ab68595612feffa2aac29b5a5dcd44
* | | | Merge "Allow ConvertCodec to check convertion" into ub-jackYohann Roussel2015-03-193-6/+37
|\ \ \ \
| * | | | Allow ConvertCodec to check convertionYohann Roussel2015-03-183-6/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | And use this capability to check double defintions of keys in PairListToMapCodecConverter. Change-Id: Ia7052c8d33710e5abc43e753c7f1c91e869a7185
* | | | | Merge "Tweak CfgBuilder.setBlockOfStatements" into ub-jackPiotr Jastrzebski2015-03-195-4/+7
|\ \ \ \ \
| * | | | | Tweak CfgBuilder.setBlockOfStatementsPiotr Jastrzebski2015-03-195-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We don't need to call entryBlock.getSuccessors() to know if there was a BasicBlock created already. Avoiding to do that saves us 1.2% of all memory allocations which for Music app compilation is 64M. Change-Id: Ib71e27824e67961edea19eeba5ebe4c4eec6be3a
* | | | | | Merge "Avoid unnecessary calls to Collections.unmodifiableList" into ub-jackPiotr Jastrzebski2015-03-191-2/+2
|\ \ \ \ \ \
| * | | | | | Avoid unnecessary calls to Collections.unmodifiableListPiotr Jastrzebski2015-03-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In BasicBlock statements are set in constructor and are final. They are never changed. BasicBlock.getStatements wraps statements into an unmodifiable list. This can be done once in the constructor. This change saves 1.6% of cpu and 0.9% of memory allocation. This is 46M and almost 2,000,000 allocations for Music app. Change-Id: Iedcc544c3432d16cc96255dc218ce6e8bf870de9
* | | | | | | Merge "Fix Checkstyle error about keyword order" into ub-jackJean-Marie Henaff2015-03-191-1/+1
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Fix Checkstyle error about keyword orderJean-Marie Henaff2015-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I31e040072e3682357f7bb6f6ce04399908a64123
* | | | | | | Merge "Make jack api a static lib of Jack" into ub-jackJean-Marie Henaff2015-03-181-1/+1
|\ \ \ \ \ \ \
| * | | | | | | Make jack api a static lib of JackJean-Marie Henaff2015-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9664bf8f7ed90d5ae86f808f4950c0b0eef370d6
* | | | | | | | Merge "Log error messsages into server inside the same VM" into ub-jackmikaelpeltier2015-03-181-0/+8
|\ \ \ \ \ \ \ \
| * | | | | | | | Log error messsages into server inside the same VMmikaelpeltier2015-03-181-0/+8
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | Change-Id: Ia796c8b2d5b887852c641c87fcbdbdbc20421f8d
* | | | | | | | Merge "Fix bug when building jack library with incremental support" into ub-jackmikaelpeltier2015-03-182-5/+14
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix bug when building jack library with incremental supportmikaelpeltier2015-03-182-5/+14
| | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Do no use LIBRARY_OUTPUT_CONTAINER_TYPE to decide if a jack library must be build from the incremental folder. This property does not allow to have the information since it is also used by the incremental support to generate another library. Add a new boolean property initialized when building the configuration. Bug: 19806230 Change-Id: I2df86c642e5f1f063acaccf586d811cbac8c1fc0
* | | | | | | | Jack does not support zap and keep rules type of jarjarmikaelpeltier2015-03-181-2/+2
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Do not use Zap and Keep rules since they are not supported by Jack. Use Zap rule replace name of type matching the rule by an empty string and it is illegal to do that. Bug: 19813299 Change-Id: I81ffb76dbdfb1db5d4ff369b96295ee8c36b3dff