[android-developers] Re: What's the meaning of the $ (dollar sign) in the backtrace?

2009-08-27 Thread fadden
On Aug 25, 1:29 pm, Brian wrote: > So I guess the number after $ (i.e. 2500) is probably just some memory > offset or something.. javac magic. Don't expect it to have any particular value and you won't be disappointed. :-) See also: http://developer.android.com/guide/practices/design/perfo

[android-developers] Re: What's the meaning of the $ (dollar sign) in the backtrace?

2009-08-25 Thread Brian
Thanks Dianne, it all makes sense now! So I guess the number after $ (i.e. 2500) is probably just some memory offset or something.. On 8월25일, 오후2시54분, Dianne Hackborn wrote: > It's a thunk to allow an inner class to call a private method (or access a > private variable) on its containing class.

[android-developers] Re: What's the meaning of the $ (dollar sign) in the backtrace?

2009-08-25 Thread Dianne Hackborn
It's a thunk to allow an inner class to call a private method (or access a private variable) on its containing class. I've started getting in the habit of going through code and getting rid of private methods and variables from these core system classes, to get rid of such thunks, but that does ha

[android-developers] Re: What's the meaning of the $ (dollar sign) in the backtrace?

2009-08-25 Thread Brian
Thanks for the reply. I understand that the $ sign is normally used to denote a nested/inner class. In the above example (ActivityThread.java - http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;f=core/java/android/app/ActivityThread.java;h=d8161936a44d10ac1fac01fecb583c76190b17

[android-developers] Re: What's the meaning of the $ (dollar sign) in the backtrace?

2009-08-25 Thread Streets Of Boston
The $ is used to seperate the inner class from the main class; Example: packager a.b.c public class MyClass { ... static class OtherClass { void someMethod() { ... exception.printStackTrace(); ... } ... } ... } would print out as