title: Gson parsing not responding
body: <p>I have an ArrayList of custom View objects I want to save to SharedPreferences.
  I use Gson.toJson() to serialize the objects, but everytime the function is called, the app stops responding and logcat endlessly writes hundreds of this kind of output:</p>
  
  <pre><code>art﹕ Background sticky concurrent mark sweep GC freed 346250(10MB) AllocSpace objects, 185(4MB) LOS objects, 22% free, 27MB/35MB, paused 12.002ms total 112.210ms
  </code></pre>
  
  <p>The problem is the same even when I try doing this in MainActivity.java to ensure that my custom View is not the problem:</p>
  
  <pre><code>Gson gson = new Gson();
  String parsedView = gson.toJson(new View(this));
  </code></pre>
  
  <p>But when I try parsing an object that doesn't extend View, it works just fine.</p>