Move allocation of fields and methods to heap

Also make Object and subclasses constructors private to prevent
accidental non-heap allocation.

Change-Id: If9513967ba012748eb0d54c04e92df0f0944d385
3 files changed
tree: 5b8d08dfd016f8cbf42f0fe67f3c759e70ede503
  1. Android.mk
  2. build/
  3. src/