On Jul 7, 10:50 am, Stephen Kell sr...@srcf.ucam.org wrote:
#0 0x00ad97fb in dvmChangeStatus (self=0xf0d057d8,
newStatus=THREAD_RUNNING)
at dalvik/vm/Thread.c:3160
#1 0x00ab0bb5 in dvmDbgThreadContinuing (status=1) at dalvik/vm/
Debugger.c:502
#2 0x00afb823 in dvmJdwpPostThreadChange
On Jul 5, 4:53 am, Stephen Kell sr...@srcf.ucam.org wrote:
If I break the dalvikvm in gdb before it does
Check_CallStaticVoidMethodV,
then attach jdb and resume both, I get the following.
E/dalvikvm(26824): ASSERT FAILED (dalvik/vm/Thread.c:3160): oldStatus !
= THREAD_RUNNING
You may be
On May 31, 12:21 am, venkatesh yadav avyadavn...@gmail.com wrote:
But i am getting this error:
C:\Documents and Settings\testtraceview c:\preloadclss.trace
Exception in thread main java.lang.OutOfMemoryError: Java heap space
Can anyone tell me how to resolve this and get the traceview.
That
On Apr 7, 10:17 pm, freakingtux kees.jongenbur...@gmail.com wrote:
Somebody else was kind enough to send me an email about dexopts. Basically
in some situation it is possible to already replace the byte code into
optimized dex inside the apk. Documentation can be found in the dalvik
On Mar 31, 4:57 am, Dudero sinfanh...@googlemail.com wrote:
which are the native supported processor architecures of official
AOSP.
Is it an ARM with ARMv5TE or ARMv7-A instruction set - or is it just
an issue of optimization, so that generally all ARM processors =ARM9
are supported?
On Mar 22, 2:32 am, Aditya Mertia aditya.mer...@gmail.com wrote:
I want to know how to compile dalvik vm separately in the android
build process. Basically are there any file modifications with which i
can decouple other modules from the compilation process and generate
only dalvik vm
On Feb 14, 1:08 am, lavanya lavavis...@gmail.com wrote:
Can anyone brief the difference between fast and JIT dalvik execution
mode?
One is interpreted, the other uses just-in-time compilation as well.
I'm using WITH_JIT =true, dalvik.vm.execution-mode = int:jit and
arm5te-vfp arch.
What
On Jan 25, 7:07 am, Pawel Kolodziej p.kolodz...@gmail.com wrote:
Is there any easy way to build only standalone dalvik virtual machine?
There was dvk project (http://code.google.com/p/dvk/) sometime ago
but it's outdated now.
In gingerbread, a host-executable copy of Dalvik is part of the
On Dec 17, 8:36 am, Howard M. Harte hhar...@gmail.com wrote:
I'm running the code from adb shell. There is no stack backtrace in
the logcat. Is it possible to run gdb on code from the adb shell?
One way in which you can get a native crash without a debuggerd stack
trace is a native stack
On Oct 28, 4:19 am, Eric sen...@gmail.com wrote:
But if I use adb install vendor.apk afterward, the package manager
will unpack vendor.so correctly, that means the vendor.apk is working
fine. So is it not appropriate to pack Android App with JNI libs
inside system applications?
No. The
On Oct 22, 10:11 am, neeloor2004 neeloor2...@gmail.com wrote:
I am doing the following but not working
r= system ((\system\bin\mydaemon)
What does the actual line look like?
i.e. does it have the '(' at the start, and use backward slashes?
--
unsubscribe:
On Sep 21, 4:28 am, Nand nandithab...@gmail.com wrote:
I want to find memory leaks in native code. The thread below gives
some information about the same. I added native=true in ~/.android/
ddms.cfg and started the stand alone DDMS (in windows ) and I'm also
able to see Native Heap tab in the
On Sep 12, 1:02 pm, Jean-Marc Spaggiari jean-m...@spaggiari.org
wrote:
I tried to build Android under a64-bit linux debian and it was not working.
FWIW, there is now a mailing list for build issues:
http://groups.google.com/group/android-building
--
unsubscribe:
On Sep 6, 2:07 am, Uhrenfeldt Henrik henrik.uhrenfe...@ixonos.com
wrote:
An ARMv6 device should be able to execute ARMv5 code, so unless your goal is
to actually leverage the added benefits of the ARMv6 architecture, you could
just stick with the ARMv5 build...
I think the only meaningful
On Aug 18, 4:59 pm, Dianne Hackborn hack...@android.com wrote:
Oh! Yes I was thinking about something completely different. This sounds
like a great optimization. :)
FWIW, the way Zip files are handled has already been changed post-
Froyo. We now initially only mmap() the central directory
For anyone searching the group, more about this can be found here:
http://stackoverflow.com/questions/3391643/android-jni-system-loadlibrary-not-needed/
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
On Jul 9, 1:38 am, folone fol...@gmail.com wrote:
I did everything in accordance with this
tutorial:http://source.android.com/source/download.html. But $make fails with
an error:
host SharedLib: libneo_cgi (out/host/linux-x86/obj/lib/libneo_cgi.so)
/usr/bin/ld: skipping incompatible
On Jul 2, 1:42 am, xliu navy.x...@gmail.com wrote:
we are planing to port dalvikvm to a new cpu. we're worry about
emulator issue because clearly qemu doesn't support own homebrew cpu.
so i took a dirty investigation on the relationship between qemu-
emulator-dalvik. could you go through my
On Jul 1, 9:24 am, Srikant w.sreeka...@gmail.com wrote:
I find there are some .jd files present in the docs folder of Android.
How to use/read them?
I don't know offhand; I generally let the tech writers worry about
that. :-)
--
unsubscribe: android-porting+unsubscr...@googlegroups.com
On Jun 30, 10:34 am, Srikant w.sreeka...@gmail.com wrote:
Dalvik porting guide is available at:
1. Dalvik/docs/porting-guide.html ???
2.http://android.git.kernel.org/?p=platform/dalvik.git;a=blob_plain;f=d...
dex file format saves space than class jar files: look at below link
for more
On Jun 7, 7:46 am, Chen Yang sunsety...@gmail.com wrote:
Is there any known good approach to disable the trace-jit for installed
application on non-rooted phone?
Setting android:vmSafeMode to true in the app's manifest will
disable the JIT for that app.
dalvik.* system properties can't be
On Jun 4, 3:10 am, jordan lulujor...@126.com wrote:
hi,everybody,I have some problem when porting eclair to my hareware.it
seem to be ANR error,but i have not solution for it.can you give me
some advise.thanks at all.
...
I/Process ( 1813): Sending signal. PID: 1813 SIG: 3
I/dalvikvm( 1813):
On Apr 29, 12:43 pm, Sanra snarr...@gmail.com wrote:
1. How to generate a Full Java stack trace (basically thread stack) in
Android. In J2SE, we use something like this - send a signal to the
JVM; the JVM generates a stack trace for you; or we can also use
debugging tools or Java API calls
On Apr 8, 1:49 am, Rakesh Kumar rakesh.y...@gmail.com wrote:
I am trying to run the dalvik test cases on the desktop using the script
run-all-tests.
And I am getting this error
/usr/bin/dx : unrecognized parameter: [1]
(use -help to get usage information)
build exit status: 1
On Apr 7, 3:44 pm, Kaushik Prajapati kaushikprajap...@gmail.com
wrote:
I am trying to build the third party source code using the Android
bionic toolchain. One of the problem that I see is that there is no
killpg in side signal.h .
A future version of bionic libc will provide killpg().
You
On Apr 7, 2:26 pm, MBethDev mbeth...@gmail.com wrote:
I've googled around for the solution and sounds to me it has something
to do with the jar file inclusion of the custom library to my
application. I verified that I followed the steps that the app client
should do (I added a user-library in
On Mar 17, 9:33 am, André Barbosa afilipebarb...@gmail.com wrote:
I'm running the mediaplayer of android and i would like to see the
LOGV generated by mediaplayer, but they do not appear in logcat.
these logs are stored in a file? how can I debug them?
LOGV statements are compiled out of
On Mar 1, 10:27 pm, dhananjay dhananjayingr...@gmail.com wrote:
V/dalvikvm( 368): +++ dvmAddClassToHash 'Ljava/lang/ClassLoader;
V/dalvikvm( 368): THROW 'Ljava/lang/VerifyError;'
msg='java.lang.Class' cause=(none)
V/dalvikvm( 368): +++ dvmAddClassToHash 'Ljava/lang/VerifyError;' 0x0
On Mar 1, 4:22 am, The Alchemist kap4...@gmail.com wrote:
I'm wondering if someone could clear up for me whether a Dalvik port
to ThumbEE would be of any benefit, especially when it comes to
startup application performance, before the JIT kicks in.
Not likely. First, the meaning of a couple
On Feb 26, 8:58 am, Tiger netiger198...@gmail.com wrote:
After adding my audio.jar's path to BOOTCLASSPATH in init.rc, Zygote
got an error and crashed:
I/dalvikvm( 823): DexOpt: not all deps represented
E/dalvikvm( 823): /system/framework/audio.jar odex has stale
dependencies
The
On Feb 1, 8:44 pm, sanju kg.sanje...@gmail.com wrote:
-0x10... if you guys find any problem with code please let me know,
any suggestions and pointer are welcome ...
De-obfuscating it with a focus on varfunc() yields:
str is a 30-byte buffer allocated on the heap
str1 is a 30-byte buffer
On Jan 11, 6:00 am, Santosh santo...@googlemail.com wrote:
I have a library that I want to put in CLASSPATH. Init.rc has
a variable 'BOOTCLASSPATH' and if I setup there, it works fine but
it's not advisable.
Can anybody know how to setup CLASSPATH in android please?
To what end?
On Nov 20, 2:41 pm, Raghu Gandham raghu.gand...@gmail.com wrote:
Is there a readme to port Dalvik in Eclair to other Architectures (say MIPS)
?
dalvik/docs/porting-guide.html in the source tree:
http://android.git.kernel.org/?p=platform/dalvik.git;a=blob_plain;f=docs/porting-guide.html;hb=HEAD
On Nov 9, 10:49 pm, Vishal C vishal2...@gmail.com wrote:
1. Will the application have to be restarted in this case too?
No. If you're explicitly loading the library, it should work.
2. Does the native code have access to the applications lib
directory? If not, then the downloaded file will
On Nov 9, 10:18 pm, Shankar Ganesh shankargane...@gmail.com wrote:
Here, SIGIO is received by signal handler, but my user-space process (open
core decoder node process) is hanged and never wakes-up and hence blocked
within sigsuspend() .
Can anyone throw some ideas if you have faced similar
On Nov 9, 6:35 pm, Zia zia.cha...@gmail.com wrote:
Thanks. So to confirm that in 1.5, there is no way to modify the VM
size limit (16MB) for a custom platform?
For a custom *platform*, you can edit frameworks/base/core/jni/
AndroidRuntime.cpp and change the -Xmx16m to something else.
--
On Nov 9, 12:41 am, Vishal Choudhary vishal2...@gmail.com wrote:
1. Can the downloaded .so be placed in /system/lib?
No.
2. If not, can it be downloaded to some other folder (say /data/advapp/),
and if yes, how can the application refer to it?
Every app has a lib directory into which shared
On Sep 14, 4:57 pm, David Given d...@cowlark.com wrote:
If I was going to have overcommit enabled, I'd much rather have the
allocation failures exposed to the application in the form of the
appropriate signal when the application fails to access the page.
[...]
Incidentally, does Android use
On Sep 9, 11:53 pm, max max.xi...@gmail.com wrote:
When I compile one library, it reports
undefined reference to `semop`
System V IPC operations are not supported by the bionic libc, because
most of the System V IPC operations are badly designed.
If you really need to use them, you can define
Two things need to happen:
(1) The necessary shared libraries need to be loaded.
(2) The various native methods need to be registered.
In frameworks/base/core/jni/AndroidRuntime.cpp you can see
AndroidRuntime::startReg(), which takes care of registering the native
methods associated with the
On Sep 1, 12:58 am, mik...@tat mikael.sollenb...@netville.se
wrote:
To reproduce this crash we ran the APIdemos application on the dev
phone, navigated to Graphics-OpenGL ES, and started the Kube
application (any app in that menu will do). Then, in a very rapid
fashion, press the Off button
On Aug 31, 3:57 am, Victor vkrugli...@gmail.com wrote:
Who knows, what is DISABLE_DEXPREOPT parameter managing?
What for used dexpreopt feature? What is this useful/useless for?
Certain builds create .odex files in the system image. This
parameter relates to that. You can see what it does by
On Aug 26, 7:55 am, Mercury bao...@gmail.com wrote:
I do not understand the above algorithm and the meaning of every lines
code that implement op code invoke static for ARM assembler
Some things are defined with C pre-processor macros in mterp/armv5te/
header.S. For example, rIBASE is the
On Aug 23, 5:37 am, mike letusliv...@gmail.com wrote:
I am trying to port Android 1.5 on OMAP 35X EVM board. I getting the
following error during boot up
Nothing you posted looks like an error.
--~--~-~--~~~---~--~~
unsubscribe:
On Aug 17, 8:57 pm, shadow yuri.bul...@gmail.com wrote:
Thanks for the fast response, i've tried what you suggested, but
crash is the same here is a tracelog:
...
08-18 03:43:29.688: INFO/DEBUG(551): signal 11 (SIGSEGV), fault addr deadbaad
...
08-18 03:43:29.746: INFO/DEBUG(551):
On Aug 18, 4:49 am, clikx click...@gmail.com wrote:
I am using own tree.
...
I am getting the following error for all the libraries.
03:48 E/ddm-Addr2Line: Error while trying to start arm-eabi-addr2line
process for library /system/lib/libssl.so
I am not able to find; which file, the path
You'd need to decode the symbols to figure out what exactly went
wrong. Since you got a bus error at address zero, I'm guessing
misalignment on a 64-bit field. (It's possible / likely that some
code assumes the Object header size is a multiple of 8 bytes.) Try
adding another 32-bit value to
On Aug 6, 9:13 pm, clikx click...@gmail.com wrote:
Required some more information i.e
The coloumns 'File' and 'Line' (only) are not populated. What needs to
be enabled to get data in 'File' and 'Line' coloumns.
DDMS needs the symbols directory under out in a build tree. The
stand-alone DDMS
On Aug 5, 5:16 am, clikx click...@gmail.com wrote:
Is there any tool available to find memory leak in native code?
Is there any tool like 'memprof' or 'mtrace' ported to work in Android
platform?
If you have the right kind of build on the phone, you can replace /
system/lib/libc.so with
On Aug 3, 8:45 pm, profect profect.andr...@gmail.com wrote:
I am reading the related files in depth. entry point may not be a precise
term. I mean the place where process 1 forks another process, process 2.
Process 2 calls exec to load and run dexopt to optimize a zip file. I didn't
find this
On Aug 2, 7:39 am, Mercury bao...@gmail.com wrote:
I'm meeting another issue about libffi issue and would like to have
your comment about it.
I've had mixed results with libffi -- we had to fix some stuff locally
on the platforms we used (search for android to find the changes).
It's possible
On Aug 3, 7:16 am, Mercury bao...@gmail.com wrote:
dalvik/vm/interp/InterpCore.h:2533 Stack overflow on method call
(top=0x863f52c0 end=0x863b54c0 newB
ot=0x863b51f0 size=262144 'nativeGetStackTrace')
dalvik/vm/interp/Stack.c:1043 Stack overflow, expanding (0x863b54c0 to
0x863b52c0)
On Jul 31, 8:13 pm, zhtlancer zhtlan...@gmail.com wrote:
How can I examine the log information of dalvik on a non-Android system?
I've checked that dalvik writes its log into /dev/log/main, but there is no
that device file on my system.
So I just placed a empty text file in that place for
On Aug 2, 7:07 am, profect profect.andr...@gmail.com wrote:
Dexopt can deal with two kinds of files, zip and dex, which are
differentiated by command line options, --zip and --dex. I find one entry
point for --dex in Android system code. It is in the function
dvmOptimizeDexFile() in the file
On Jul 31, 9:18 am, zhtlancer zhtlan...@gmail.com wrote:
When I tried to build the InterpC-allstubs.c, the compile complaint
like this:
dalvik/vm/mterp/out/InterpC-allstubs.c: In function
‘dvmMterp_OP_GOTO’:
What type of build are you configured for?
Have you made any local modifications?
On Jul 31, 10:16 am, zhtlancer zhtlan...@gmail.com wrote:
I've just found out why this happened, and I think this may be a bug.
In dalvik/vm/mterp/cstubs/stubdefs.c, there is a #define self glue-self
But in line 115, wrote glue-self-threadId, so I changed it to
self-threadId, and re-generate
On Jul 26, 10:33 pm, louis dmq...@gmail.com wrote:
My compile error messages show that the source code needs struct
dirent64 but it is missing in bionic/libc/include/dirent.h which is
the only one included when compiled but in bionic/libc/kernel/common/
linux/dirent.h which is not included
On Jul 27, 4:49 am, Mercury bao...@gmail.com wrote:
Could you please advice me why I call free as the above implement
cause crash?
I don't know.
If possible, could you tell me or share me a document about the design
of heap implement in Dalvik?
There isn't one. It uses the dlmalloc mspace
On Jul 26, 10:10 am, Elvis Dowson elvis.dow...@gmail.com wrote:
I'm getting this error with linux-omap3-2.6.31:
E/dalvikvm( 676): ERROR: Byte swap + verify failed
[...]
E/dalvikvm( 670): ERROR: Bad length: expected 818624000, got 3590960
In hex, those are 0x30cb3600 and 0x36cb30,
On Jul 24, 8:02 am, zhtlancer zhtlan...@gmail.com wrote:
I'm planning to port dalvik to a new platform, and I think the
portable version of interpreter may be a good start. But I'm not very
clear of the source code structure. Could anyone help me? Thanks!
Start with
On Jul 23, 7:02 pm, xuxiake2012 xuxiake2...@gmail.com wrote:
I have some source code in hand which can use hardware acceleration
just like MMX,IWMMXT,SSE and so on. As we known, android use arm-eabi-
gcc to compile source code. so my question come : Is arm-eabi-gcc
support iwmmxt?
Or
On Jul 22, 6:04 am, Mercury bao...@gmail.com wrote:
However on Vxworks, when exiting a thread, it does not free its
resource. So for example I create a server socket on Java
server = new ServerSocket(port);
and make it listening. After I terminate this thread in native, server
socket I
On Jul 21, 7:27 am, Mercury bao...@gmail.com wrote:
So maybe we need to adapt the current implement of System.exit on
Vxwork, I think we need to save all created threads and when
System.exit is called, we need to loop and exit every created thread
to exit Dalvik completely. But at the current
On Jul 17, 9:58 am, Mercury bao...@gmail.com wrote:
and I found that it called to dvmAbort and my board automatically
reboot. With my debug, thread status in above function is
THREAD_RUNNING so it goes to if block and call dvmAbort.
Change dvmAbort() to just call abort(). That should cause
On Jul 16, 5:29 am, jianhai yang jian...@gmail.com wrote:
E/dalvikvm( 1045): ERROR: bad checksum (07818e96, expected 4c4d8f58)
E/dalvikvm( 1045): ERROR: Byte swap + verify failed
E/dalvikvm( 1045): Optimization failed
W/dalvikvm( 1041): DexOpt: --- END 'ext.jar' --- status=0xff00, process
On Jul 16, 4:10 am, shyjumon shyjumo...@gmail.com wrote:
W/dalvikvm( 27): Cached DEX '/system/framework/core.jar' (/data/
dalvik-cache/sys...@framework@core@classes.dex) is stale and not
writable
I/dalvikvm( 27): Unable to open or create cache for /system/
framework/core.jar
What
On Jul 14, 12:39 am, DYChen dong-yuan.c...@intel.com wrote:
This seems to imply an instance can only be created after the class
initialization is completed.
It tells you the set of actions that trigger initialization. It does
not guarantee that initialization has completed before those
On Jul 12, 7:46 pm, profect profect.andr...@gmail.com wrote:
1. I think what Chen mentioned above is also a problem. Gcc's implementation
for is different from the code's intention here.
If you're signed up as a contributor, go to the change page, click on
the file, and double-click on the
On Jul 9, 1:13 am, Chen Yang sunsety...@gmail.com wrote:
Any explanation on why it doesn't show on ARM platform?
It does -- it comes down to timing and luck. If you have a class that
creates an instance of itself during class initialization, and a GC
happens before class init completes, you
On Jul 8, 6:06 pm, Mercury bao...@gmail.com wrote:
I am trying to run my small sample app. It only call System.exit(0) in
main function.
[...]
stack trace information:
SP:0x8ee01690(unknown stack base:0x8fa0)
0x8006f5b0:bfill + 0x68
0x80e56980:memset + 0x20 - bfill()
bhayes has posted an explanation of the problem in the change (https://
review.source.android.com/#change,10482).
In short, it can cause live objects to be collected.
--~--~-~--~~~---~--~~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website:
On Jul 8, 4:20 pm, JBDynamics jer...@jbdynamics.com wrote:
When first compiling with only the zlib1g and zlib1g-dev packages, it
was ending in an Error 2: not being able to find a valid libz.so after
a -lz search giving hits in a few different directories, but not
finding a valid lib. So I
On Jul 7, 10:41 am, Chen Yang sunsety...@gmail.com wrote:
just curious to know: is the arm version working correctly?
From what i have observed on x86, the introduced code by that patch brought
none reference stuff as reference, which caused the runtime segmentation
fault.
We don't see a
On Jul 6, 11:05 pm, Sivan sivaprasa...@gmail.com wrote:
+error: device not found
By default, the tests are run on the emulator or an attached device.
Do you have these? If so, what does adb devices show?
--~--~-~--~~~---~--~~
unsubscribe:
The way you wrote that in this message, and the way the error reads,
your native_ClassInit method is part of A, not A$B.
The error message is generated by the VM when it's trying to find a
native method for A.native_ClassInit, not when you do the
registration. Are you sure the registration call
On Jun 26, 12:55 am, bazookier geelphe...@gmail.com wrote:
I have two classes declared in one package.
One accesses the other.
Made a dex file contain this whole package.
When running, it reported the following error:
Class resolved by unexpected DEX: ..
..
The message means it
On Jun 25, 4:54 am, bazookier geelphe...@gmail.com wrote:
I'd like to ask one question:
Okay, but just one.
Is there a concept of jdk version in dalvik VM?
If there is, is it above 1.5_02?
No. And that's two.
I ran some application compiled by jdk 1.5_02 caused a VerifyError.
Can it be
On Jun 2, 4:18 am, Xmen1 ankitmittal...@gmail.com wrote:
Can somebody please tell me whether it is possible to port Dalvik VM
on operating system other then LINUX?
What all support is required from the OS?
Please share some information about this.
POSIX-compliant libc and a reasonably full
://groups.google.com/group/android-developers/browse_thread/thread/73f89bb8739c24bb/e5c7fd02dfbc74fd?q=stack+trace+addr2line+fadden#e5c7fd02dfbc74fd
--~--~-~--~~~---~--~~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group
On May 19, 5:30 am, Kasuko kas...@gmail.com wrote:
Ok I have been trying and trying to get a simple JNI program running.
[...]
System.loadLibrary(/data/lib/libRun.so);
Use System.load() if you're going to provide a full path.
--~--~-~--~~~---~--~~
unsubscribe:
The first cut at a new Dalvik Porting Guide is available. This may
be of interest to anyone who wants to move beyond libffi and the
portable interpreter on a non-ARM, non-x86 platform.
It's now in the source tree as dalvik/docs/porting-guide.html; you can
also see it here:
Have you verified (with e.g. unzip -t file) that the jar file is
okay?
- Andy
On May 11, 7:05 am, Gustavo gustav...@gmail.com wrote:
After building most of the code I get an error related to
javalib.jar. Find attached the output. Any clue?
On May 8, 8:03 am, kewarken kewar...@gmail.com wrote:
I'm trying to build the simulator lib for x86 and I'm running into
some strange problems, most of which seem related to header conflicts
between bionic libc and my host (ubuntu 9.04).
[...]
Any ideas to help me keep moving?
The wrapsim
On May 7, 7:10 am, efu ericf...@gmail.com wrote:
I am building a JNI library in C/C++. One challenge is to have it
print out trace and log messages. Any suggestions? Any Android tools I
can use? For example, is there an equivalent of
java.util.logging.Logger in C library form?
If you include
On May 3, 9:04 am, efu ericf...@gmail.com wrote:
Is this still the case, for example in the cupcake code?
NewWeakGlobalRef is still not supported.
I need to implement a set of callbacks from JNI to Java efficiently,
and I need to cache reference to the class in order to call the
methods. If
On Apr 29, 4:57 pm, Shashank shankmit...@gmail.com wrote:
Are they using any sort of automation or is it manually generated by
some person / team?
Both. There's some stuff in frameworks/base/tools/preload that helps
generate it, then there's some manual adjusting.
On Apr 29, 5:34 am, ja...@work jim_za...@hotmail.com wrote:
I'm planning to porting it to a linux-kernel device, but i don't
understand if dalvik is linked directly (does it make calls to the
kernel?) to the linuxkernel or if it communicates with it ONLY through
the HAL or libraries.
The VM
On Apr 29, 2:16 am, Augustin.CL iamaugus...@gmail.com wrote:
Recently, I set out to compile android on X86. I read lots
of discussions on mailing list. I found that someone gave a guide to
compile simulator and introduce how to write a java program to print
out Hello World by
On Apr 27, 11:43 pm, Peter jl...@ingenic.cn wrote:
I ran these codes on the Android's emulator and they returned
res1=false and res2=false. (They are correct)
But when I ran them on XBurst, they returned res1=true and res2=false.
(They are wrong)
The difference is that the wrong one was got
On Apr 21, 9:35 am, Sahil Arora sahilz...@gmail.com wrote:
Please find attached the hprof file that i am using at my end.. I await your
response.
I can use the original with our Android-modified hat, and I can use
the converted form with Sun's jhat. I don't have jprofiler, so I
can't try
On Apr 21, 2:21 am, Magnus perssonmag...@gmail.com wrote:
I would still like to get an explanation as to why the Java APIs show
a lot more memory available than the UNIX commands available in the
adb shell.
memInfo = new ActivityManager.MemoryInfo();
mgr.getMemoryInfo(memInfo);
On Apr 22, 11:19 am, Michael Trimarchi trimar...@gandalf.sssup.it
wrote:
E/dalvikvm-heap (2589): Can't create VM heap of size (262144,14151696)
(errno=13)
It's a problem of the prot mask of the driver ashm maybe. Can you insert
some debug
code in system/core/libcutils/mspace.c of android
On Apr 20, 4:56 am, sreedhar b sreedhar...@gmail.com wrote:
I have a use-case library having *.cpp files. And i made an application with
*.c extension. I included the above said library as a shared library part of
the Android.mk for building the application.
I am getting errors showing
On Apr 19, 6:58 am, Sahil Arora sahilz...@gmail.com wrote:
This creates the standard1.hprof file. On double clicking this file
JProfiler tries to open this file, but, the following error comes:
An unrecoverable error occured:
java.lang.ArithmeticEception: / by zero
Can you e-mail the
On Apr 17, 6:57 am, Zhubham sahilz...@gmail.com wrote:
This has concern to the profiling discussion
@http://groups.google.com/group/android-developers/browse_thread/threa...
As mentioned in the second message, i can generate the hprof files.
But I m facing difficulty in opening this file
On Apr 16, 10:06 pm, Manish Sharma manishsharm...@gmail.com wrote:
target thumb C++: libsimplejni =
development/samples/SimpleJNI/jni/native.cpp
development/samples/SimpleJNI/jni/native.cpp:1: error: bad value (armv7-a)
for -march= switch
make: ***
On Apr 9, 12:10 am, dj dhananjayingr...@gmail.com wrote:
thats why returnig false from this function in casuses dvmabort() to
fail at following location
0x0feacd38 in dvmAbort () at dalvik/vm/Init.c:1433
1433 *((char*)0xdeadd00d) = 38;
and here i am getting seg fault .
are you
On Apr 6, 10:52 pm, Manish Sharma manishsharm...@gmail.com wrote:
If I miss anything it give VM aborting. I am still not understanding the
logic of enabling HAVE_SHORT_ENUMS. If you have some idea please share.
From the gcc info page:
`-fshort-enums'
Allocate to an `enum' type only as
On Apr 5, 9:21 pm, Manish Sharma manishsharm...@gmail.com wrote:
I have enabled HAVE_SHORT_ENUMS and now the logs are changed but still
getting VM aborting.
[...]
E/dalvikvm( 1554): Bad asm sizeof sizeofGlobal_debuggerActive (1), should be
4
E/dalvikvm( 1554): Bad asm sizeof
On Apr 3, 5:05 am, Manish Sharma manishsharm...@gmail.com wrote:
The following configurations are not working. I am getting following kernel
panic.
[...]
D/AndroidRuntime( 1554): AndroidRuntime START
D/AndroidRuntime( 1554): CheckJNI is ON
E/dalvikvm( 1554): Bad asm sizeof
1 - 100 of 114 matches
Mail list logo