1. 02 Mar, 2012 3 commits
    • Elliott Hughes's avatar
      libcorkscrew native stacks, mutex ranking, and better ScopedThreadListLock. · ffb465f2
      Elliott Hughes authored
      This change uses libcorkscrew to show native stacks for threads in kNative or,
      unlike dalvikvm, kVmWait --- working on the runtime directly I've found it
      somewhat useful to be able to see _which_ internal resource we're waiting on.
      We can always take that back out (or make it oatexecd-only) if it turns out to
      be too noisy/confusing for app developers.
      
      This change also lets us rank mutexes and enforce -- in oatexecd -- that you
      take locks in a specific order.
      
      Both of these helped me test the third novelty: removing the heap locking from
      ScopedThreadListLock. I've manually inspected all the callers and added a
      ScopedHeapLock where I think one is necessary. In manual testing, this makes
      jdb a lot less prone to locking us up. There still seems to be a problem with
      the JDWP VirtualMachine.Resume command, but I'll look at that separately. This
      is a big enough and potentially disruptive enough change already.
      
      Change-Id: Iad974358919d0e00674662dc8a69cc65878cfb5c
      ffb465f2
    • buzbee's avatar
      Change assembler to use byte instruction lengths · 71ac9948
      buzbee authored
      Change the Arm & Mips instruction templaces to record instruction
      size in bytes rather than half-words.  Also includes a few Mips
      changes to get us in compilable state.
      
      Change-Id: I5a4f6cbd0cb0569805d9dfbd341c244152e59ac7
      71ac9948
    • buzbee's avatar
      Another step towards a Mips target · 5de3494e
      buzbee authored
      Updating the MIPS target to use the now common codegen routines.
      Still much to do, but the general structure is sufficient to allow
      work to begin on the other target.
      
      Change-Id: I0d288fdfb59c8e76fad73185fdd56b345e87b604
      5de3494e
  2. 01 Mar, 2012 28 commits
  3. 29 Feb, 2012 9 commits