OSDN Git Service

android-x86/dalvik.git
14 years agodx incorrectly writes registers as a signed leb128 in the dex debug info
Ben Gruver [Thu, 4 Jun 2009 02:06:34 +0000 (21:06 -0500)]
dx incorrectly writes registers as a signed leb128 in the dex debug info

This has no functional effect, because reading the signed leb128 value
as an unsignedleb128 still produces the same value. But the encoding is
1 byte longer in some cases.

15 years agoWrote Dalvik "porting guide".
Andy McFadden [Thu, 14 May 2009 17:03:45 +0000 (10:03 -0700)]
Wrote Dalvik "porting guide".

15 years agoAdded two new Dalvik documents.
Andy McFadden [Mon, 27 Apr 2009 20:19:51 +0000 (13:19 -0700)]
Added two new Dalvik documents.

One explains the use of hprof, the other shows how to use the VM from
the command line.  These are partially based on some of my responses
to questions on external mailing lists.

15 years agoThe Android.mk file in libcore was writing a test
Aaron Kushner [Wed, 29 Apr 2009 09:57:17 +0000 (02:57 -0700)]
The Android.mk file in libcore was writing a test
file outside of the Android build directory and was
not getting cleaned up after the build.

15 years agoMerge commit 'korg/donut'
The Android Open Source Project [Fri, 24 Apr 2009 20:54:55 +0000 (13:54 -0700)]
Merge commit 'korg/donut'

15 years agoImprove zygote heap sharing.
Barry Hayes [Mon, 6 Apr 2009 17:03:48 +0000 (10:03 -0700)]
Improve zygote heap sharing.

Lots of ClassObject structures are unshared [and thus make whole pages
unshared]. A big contributor to this is the initializing class loader
logic, which has two writable words in a ClassObject and does indeed
seem to write them a lot.

Class which are created "early" have a low serial number and are
probably being created by the zygote, and would benefit from better
sharing. This change move the two words for classes with a low serial
number to a global, making the two words in those ClassObjects unused,
and thus more likely to be shared across apps.

Measured increase in sharing is c 100K per app, at a cost of c 32K
increase in unshared globals.

This might be better as a Set<Pair<Class,ClassLoader>> or
something. Many ClassObjects have zero loaders, and the typical count
seems to be very small. It should be possible to remove the two words
from the ClassObject and at the same time have a smaller global data
structure.

Respond to reviewer's comments.
Moved the "external" InitiatingLoaderList[] from gDvm to allocated storage.
Made the warning for the "const" go away.
Remove "vm/Init.c" from the commit
Revert Globals.h to not contain ZYGOTE_CLASS_CUTOFF
Use calloc rather than malloc/clear

15 years agoAI 146710: Splitting android.core.tests.apk into several smaller
Urs Grob [Fri, 17 Apr 2009 09:07:17 +0000 (02:07 -0700)]
AI 146710: Splitting android.core.tests.apk into several smaller
  apks. Each libcore module gets one apk and luni gets 4.
  BUG=1789657

Automated import of CL 146710

15 years agoAI 146479: Fixes for tests in the sql module.
Urs Grob [Thu, 16 Apr 2009 17:44:56 +0000 (10:44 -0700)]
AI 146479: Fixes for tests in the sql module.
  Some tests are still failing in the cts host environment. this CL fixes most of them in the sql module.
  BUG=1285921

Automated import of CL 146479

15 years agoMerge commit 'korg/cupcake'
The Android Open Source Project [Wed, 15 Apr 2009 01:17:59 +0000 (18:17 -0700)]
Merge commit 'korg/cupcake'

15 years agoAI 146132: Fixes from the review of 'Bringing XML down to one broken test.'
Urs Grob [Tue, 14 Apr 2009 17:11:29 +0000 (10:11 -0700)]
AI 146132: Fixes from the review of 'Bringing XML down to one broken test.'
  BUG=1285921

Automated import of CL 146132

15 years agoAI 146126: Fixes from the review of 'Bringing RegEx down to zero broken tests.'
Urs Grob [Tue, 14 Apr 2009 16:43:07 +0000 (09:43 -0700)]
AI 146126: Fixes from the review of 'Bringing RegEx down to zero broken tests.'
  BUG=1285921

Automated import of CL 146126

15 years agoAI 145291: Fixes from the review of 'Bringing XNET down to zero broken tests.'
Urs Grob [Thu, 9 Apr 2009 09:14:28 +0000 (02:14 -0700)]
AI 145291: Fixes from the review of 'Bringing XNET down to zero broken tests.'
  BUG=1285921

Automated import of CL 145291

15 years agoAI 145289: Fixes for tests in the text module.
Urs Grob [Thu, 9 Apr 2009 08:48:23 +0000 (01:48 -0700)]
AI 145289: Fixes for tests in the text module.
  Some tests are still failing in the cts host environment. this CL fixes most of them for the test module.
  BUG=1285921

Automated import of CL 145289

15 years agoAI 145288: Removing tabs from tests.
Urs Grob [Thu, 9 Apr 2009 08:43:40 +0000 (01:43 -0700)]
AI 145288: Removing tabs from tests.
  BUG=1285921

Automated import of CL 145288

15 years agoAI 144839: First version of new test runner for the core tests
Jorg Pleumann [Tue, 7 Apr 2009 12:09:09 +0000 (05:09 -0700)]
AI 144839: First version of new test runner for the core tests
  that is able to filter tests, treat known failures,
  isolate tests and (experimentally) find side effects
  between tests. It also make it easy to run the core
  tests on the RI, in order to validate the suite.
  BUG=1537738

Automated import of CL 144839

15 years agoAI 144830: Bringing luni down to 15 broken tests. Not perfect,
Jorg Pleumann [Tue, 7 Apr 2009 09:59:21 +0000 (02:59 -0700)]
AI 144830: Bringing luni down to 15 broken tests. Not perfect,
  but an improvement.
  BUG=1285921

Automated import of CL 144830

15 years agoAI 144828: Bringing RegEx down to zero broken tests.
Jorg Pleumann [Tue, 7 Apr 2009 09:57:36 +0000 (02:57 -0700)]
AI 144828: Bringing RegEx down to zero broken tests.
  BUG=1285921

Automated import of CL 144828

15 years agoAI 144822: Bringing XML down to one broken test.
Jorg Pleumann [Tue, 7 Apr 2009 09:54:24 +0000 (02:54 -0700)]
AI 144822: Bringing XML down to one broken test.
  BUG=1285921

Automated import of CL 144822

15 years agoAI 144818: Bringing archive down to zero broken tests.
Jorg Pleumann [Tue, 7 Apr 2009 09:52:43 +0000 (02:52 -0700)]
AI 144818: Bringing archive down to zero broken tests.
  BUG=1285921

Automated import of CL 144818

15 years agoAI 144816: Bringing XNET down to zero broken tests.
Jorg Pleumann [Tue, 7 Apr 2009 09:51:04 +0000 (02:51 -0700)]
AI 144816: Bringing XNET down to zero broken tests.
  BUG=1285921

Automated import of CL 144816

15 years agoAI 144802: Bringing SQL down to zero broken tests. Restructuring
Jorg Pleumann [Tue, 7 Apr 2009 09:32:26 +0000 (02:32 -0700)]
AI 144802: Bringing SQL down to zero broken tests. Restructuring
  some overengineered tests, so they are able to execute
  in the CTS host and our CoreTestRunner.
  BUG=1285921

Automated import of CL 144802

15 years agoAI 144356: Synchronized code that touches native SSL sessions.
Bob Lee [Fri, 3 Apr 2009 04:43:20 +0000 (21:43 -0700)]
AI 144356: Synchronized code that touches native SSL sessions.

Automated import of CL 144356

15 years agoAI 144229: Modifying build of core-tests.jar version for
Jorg Pleumann [Thu, 2 Apr 2009 15:23:31 +0000 (08:23 -0700)]
AI 144229: Modifying build of core-tests.jar version for
  the RI so that the required test annotation
  classes are copied over from core.jar. Means
  we don't have to maintain duplicate versions
  of these classes (and there will be less
  verifier complaints), so these are going away
  in the process.
  BUG=1285921

Automated import of CL 144229

15 years agoMerge change 9336
Android Code Review [Tue, 31 Mar 2009 19:08:40 +0000 (12:08 -0700)]
Merge change 9336

* changes:
  Fixes to make dalvik compile for armv4t: - The blx instruction is only supported from armv5t and on. - Select the correct Interp-files.

15 years agoAI 143467: Bringing archive down to zero failures and
Jorg Pleumann [Mon, 30 Mar 2009 11:33:38 +0000 (04:33 -0700)]
AI 143467: Bringing archive down to zero failures and
  zero broken tests.
  BUG=1285921

Automated import of CL 143467

15 years agoAI 143466: Bringing the logging tests down to zero failures.
Jorg Pleumann [Mon, 30 Mar 2009 11:29:44 +0000 (04:29 -0700)]
AI 143466: Bringing the logging tests down to zero failures.
  BUG=1285921

Automated import of CL 143466

15 years agoAI 143464: Proposal for a TestTimeout annotation that the CTS
Jorg Pleumann [Mon, 30 Mar 2009 11:05:31 +0000 (04:05 -0700)]
AI 143464: Proposal for a TestTimeout annotation that the CTS
  host (or an different test harness) should take into
  account.
  BUG=1537738

Automated import of CL 143464

15 years agoAI 143460: Adding new annotation for tests that expose or suffer from
Jorg Pleumann [Mon, 30 Mar 2009 09:37:20 +0000 (02:37 -0700)]
AI 143460: Adding new annotation for tests that expose or suffer from
  side effecs. The test harness can isolate these in their
  own process. Unfortunately we need to add the class twice.
  Maybe we can find a better solution for this at a later
  point.
  BUG=1285921

Automated import of CL 143460

15 years agoAI 143458: Bringing the security tests down to zero failures (and
Jorg Pleumann [Mon, 30 Mar 2009 09:22:52 +0000 (02:22 -0700)]
AI 143458: Bringing the security tests down to zero failures (and
  adding lots of missing headers in the process).
  BUG=1285921

Automated import of CL 143458

15 years agoAI 143457: Bringing the nio_char tests down to zero failures.
Jorg Pleumann [Mon, 30 Mar 2009 09:17:24 +0000 (02:17 -0700)]
AI 143457: Bringing the nio_char tests down to zero failures.
  BUG=1285921

Automated import of CL 143457

15 years agoAI 143456: Bringing the text tests down to zero failures.
Jorg Pleumann [Mon, 30 Mar 2009 09:16:30 +0000 (02:16 -0700)]
AI 143456: Bringing the text tests down to zero failures.
  BUG=1285921

Automated import of CL 143456

15 years agoAI 143455: Bringing the SQL tests down to zero failures (and
Jorg Pleumann [Mon, 30 Mar 2009 09:14:48 +0000 (02:14 -0700)]
AI 143455: Bringing the SQL tests down to zero failures (and
  reducing the size of some stress tests, so they
  have a chance to actually succeed before the end
  of the world).
  BUG=1285921

Automated import of CL 143455

15 years agoAI 143454: Temporarily removing the Expat test from the XML
Jorg Pleumann [Mon, 30 Mar 2009 09:12:23 +0000 (02:12 -0700)]
AI 143454: Temporarily removing the Expat test from the XML
  test suite, so it can be run on the RI as well.
  BUG=1285921

Automated import of CL 143454

15 years agoAI 143453: Bringing the luni tests down to zero failures.
Jorg Pleumann [Mon, 30 Mar 2009 09:09:59 +0000 (02:09 -0700)]
AI 143453: Bringing the luni tests down to zero failures.
  BUG=1285921

Automated import of CL 143453

15 years agoMerge commit 'korg/cupcake'
The Android Open Source Project [Fri, 27 Mar 2009 22:30:35 +0000 (15:30 -0700)]
Merge commit 'korg/cupcake'

15 years agoAI 143073: Bringing the Crypto tests down to zero failures.
Jorg Pleumann [Fri, 27 Mar 2009 10:31:37 +0000 (03:31 -0700)]
AI 143073: Bringing the Crypto tests down to zero failures.
  BUG=1285921

Automated import of CL 143073

15 years agoAI 143070: Two small fixes for the support module. The
Jorg Pleumann [Fri, 27 Mar 2009 10:26:39 +0000 (03:26 -0700)]
AI 143070: Two small fixes for the support module. The
  classloader factory didn't work, since the
  innerhalb classes had to be static. Plus
  we don't want to see System.out stuff in the
  tests.
  BUG=1285921

Automated import of CL 143070

15 years agoAutomated import from //branches/cupcake/...@142925,142925
Jorg Pleumann [Thu, 26 Mar 2009 16:28:59 +0000 (09:28 -0700)]
Automated import from //branches/cupcake/...@142925,142925

15 years agoAutomated import from //branches/cupcake/...@141706,141706
Urs Grob [Wed, 25 Mar 2009 01:13:27 +0000 (18:13 -0700)]
Automated import from //branches/cupcake/...@141706,141706

15 years agoFixes to make dalvik compile for armv4t:
Fredrik Markström [Mon, 23 Mar 2009 22:40:51 +0000 (23:40 +0100)]
Fixes to make dalvik compile for armv4t:
- The blx instruction is only supported from armv5t and on.
- Select the correct Interp-files.

15 years agoadd comments for the UTF-8 string creation patch
Hao Feng [Fri, 20 Mar 2009 08:15:16 +0000 (16:15 +0800)]
add comments for the UTF-8 string creation patch

15 years agoauto import from //branches/cupcake_rel/...@141571
The Android Open Source Project [Fri, 20 Mar 2009 06:08:36 +0000 (23:08 -0700)]
auto import from //branches/cupcake_rel/...@141571

15 years agoMerge
Android Code Review [Thu, 19 Mar 2009 23:22:06 +0000 (16:22 -0700)]
Merge

15 years agoauto import from //branches/cupcake_rel/...@140373
The Android Open Source Project [Thu, 19 Mar 2009 00:39:42 +0000 (17:39 -0700)]
auto import from //branches/cupcake_rel/...@140373

15 years agoMerge commit 'remotes/korg/cupcake' into cupcake_to_master
Jean-Baptiste Queru [Wed, 18 Mar 2009 23:57:22 +0000 (16:57 -0700)]
Merge commit 'remotes/korg/cupcake' into cupcake_to_master

15 years agoMove the code in scanObject which sets the scanGeneration [and other fields] of
Barry Hayes [Mon, 16 Mar 2009 23:10:35 +0000 (16:10 -0700)]
Move the code in scanObject which sets the scanGeneration [and other fields] of
a chunk to before the early return in the cases where clazz is either NULL or
unlinkedJavaLangClass.

This way the "wasn't scanned last time" check in _markObjectNonNullCommon will
see the scanGeneration and markGeneration as equal, and won't dvmAbort.

15 years agoauto import from //branches/cupcake_rel/...@138607
The Android Open Source Project [Fri, 13 Mar 2009 20:04:19 +0000 (13:04 -0700)]
auto import from //branches/cupcake_rel/...@138607

15 years agoauto import from //branches/cupcake/...@137873
The Android Open Source Project [Wed, 11 Mar 2009 19:11:54 +0000 (12:11 -0700)]
auto import from //branches/cupcake/...@137873

15 years agoauto import from //branches/cupcake/...@137197
The Android Open Source Project [Mon, 9 Mar 2009 18:52:11 +0000 (11:52 -0700)]
auto import from //branches/cupcake/...@137197

15 years agoMerge
Android Code Review [Mon, 9 Mar 2009 18:18:13 +0000 (11:18 -0700)]
Merge

15 years agoCode to reuse PlatformAddress objects. Minimizing garbage creation on the framework...
t.mehrvarz [Sat, 28 Feb 2009 06:25:46 +0000 (07:25 +0100)]
Code to reuse PlatformAddress objects. Minimizing garbage creation on the framework level and reducing the number of runtime GC-hiccups for OpenGL apps and animations.
2nd version: complete rewrite using 8 bit hash, up to 5 probes, cycle through probes cache replacement. (Thank you MichaelDt for your help.)
- 1st amend: applied requested modifications
- 2nd amend: comment openers, curly bracket

15 years agoauto import from //depot/cupcake/@136654
The Android Open Source Project [Fri, 6 Mar 2009 01:04:45 +0000 (17:04 -0800)]
auto import from //depot/cupcake/@136654

15 years agoUse static const variable for speed. Clarify a comment.
Jean-Baptiste Queru [Wed, 4 Mar 2009 19:06:14 +0000 (11:06 -0800)]
Use static const variable for speed. Clarify a comment.

Fixes http://code.google.com/p/android/issues/detail?id=2088

15 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 03:28:47 +0000 (19:28 -0800)]
auto import from //depot/cupcake/@135843

15 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 02:28:14 +0000 (18:28 -0800)]
auto import from //depot/cupcake/@135843

15 years agoauto import from //depot/cupcake/@132589
The Android Open Source Project [Tue, 3 Mar 2009 22:03:56 +0000 (14:03 -0800)]
auto import from //depot/cupcake/@132589

15 years agoMerge
Android Code Review [Tue, 3 Mar 2009 21:45:42 +0000 (13:45 -0800)]
Merge

15 years agoauto import from //depot/cupcake/@137055
The Android Open Source Project [Tue, 3 Mar 2009 06:54:18 +0000 (22:54 -0800)]
auto import from //depot/cupcake/@137055

15 years agoRemove unused variable
Jean-Baptiste Queru [Mon, 2 Mar 2009 22:56:01 +0000 (14:56 -0800)]
Remove unused variable

Fixes http://code.google.com/p/android/issues/detail?id=2089

15 years agoMerge
Android Code Review [Mon, 2 Mar 2009 22:13:26 +0000 (14:13 -0800)]
Merge

15 years agoFix the obvois wrong test in methodIsPublic function.
Vadim Lebedev [Sat, 21 Feb 2009 21:01:44 +0000 (22:01 +0100)]
Fix the obvois wrong test in methodIsPublic function.

15 years agoauto import from //branches/cupcake/...@132276
The Android Open Source Project [Thu, 19 Feb 2009 18:57:29 +0000 (10:57 -0800)]
auto import from //branches/cupcake/...@132276

15 years agoauto import from //branches/cupcake/...@131421
The Android Open Source Project [Fri, 13 Feb 2009 20:57:48 +0000 (12:57 -0800)]
auto import from //branches/cupcake/...@131421

15 years agoauto import from //branches/cupcake/...@130745
The Android Open Source Project [Tue, 10 Feb 2009 23:43:57 +0000 (15:43 -0800)]
auto import from //branches/cupcake/...@130745

15 years agoThis patch rewrites common_invokeOld for the x86 fast interpreter. The implementation...
Johnnie Birch [Tue, 10 Feb 2009 23:41:06 +0000 (15:41 -0800)]
This patch rewrites common_invokeOld for the x86 fast interpreter. The implementation is similar to what is done for the armv5 code.
Testing shows the patch provides a performance boost to benchmarks such as Caffeine Mark. When testing the simulator build on an Intel(R) Core(TM)2 Quad  CPU   Q9550  @ 2.83GHz, the string score for Caffeine Mark improved by 6%, the Method score improved by 12% and the overall score improved by 3%.

This patch is one of our incremental efforts to merge some Intel's x86 fast interpreter features in http://review.source.android.com/Gerrit#change,6041 to the mterp/x86 directory.

15 years agoMerge branch 'cupcake'
The Android Open Source Project [Thu, 22 Jan 2009 08:15:57 +0000 (00:15 -0800)]
Merge branch 'cupcake'

15 years agoauto import from //branches/cupcake/...@127436
The Android Open Source Project [Thu, 22 Jan 2009 08:13:40 +0000 (00:13 -0800)]
auto import from //branches/cupcake/...@127436

15 years agoMerge branch 'cupcake'
The Android Open Source Project [Tue, 20 Jan 2009 22:05:23 +0000 (14:05 -0800)]
Merge branch 'cupcake'

15 years agoauto import from //branches/cupcake/...@127101
The Android Open Source Project [Tue, 20 Jan 2009 22:03:55 +0000 (14:03 -0800)]
auto import from //branches/cupcake/...@127101

15 years agoMerge branch 'cupcake'
android-build SharedAccount [Fri, 16 Jan 2009 00:15:47 +0000 (16:15 -0800)]
Merge branch 'cupcake'

15 years agoauto import from //branches/cupcake/...@126645
The Android Open Source Project [Fri, 16 Jan 2009 00:12:07 +0000 (16:12 -0800)]
auto import from //branches/cupcake/...@126645

15 years agoMerge branch 'cupcake'
The Android Open Source Project [Sat, 10 Jan 2009 02:03:37 +0000 (18:03 -0800)]
Merge branch 'cupcake'

15 years agoauto import from //branches/cupcake/...@125939
The Android Open Source Project [Sat, 10 Jan 2009 01:50:54 +0000 (17:50 -0800)]
auto import from //branches/cupcake/...@125939

15 years agoMerge commit 'remotes/korg/cupcake'
Jean-Baptiste Queru [Fri, 19 Dec 2008 15:54:16 +0000 (07:54 -0800)]
Merge commit 'remotes/korg/cupcake'

15 years agoCode drop from //branches/cupcake/...@124589
The Android Open Source Project [Thu, 18 Dec 2008 02:03:55 +0000 (18:03 -0800)]
Code drop from //branches/cupcake/...@124589

15 years agoA fairly obvious ifdef'd syntax error: missing closing brace.
Jay Freeman (saurik) [Sun, 16 Nov 2008 13:51:51 +0000 (13:51 +0000)]
A fairly obvious ifdef'd syntax error: missing closing brace.

15 years agoInitial Contribution
The Android Open Source Project [Tue, 21 Oct 2008 14:00:00 +0000 (07:00 -0700)]
Initial Contribution