System.out.println("serialized "+o);
System.out.println("serialized (hc="+o.hashCode()+")");
  public static void main(String[] args) {    System.out.println("begin");    pause(1000);    // create a map and serialize it    Object o = new HashMap(5000);    ((Map) o).put("foo", "bar");    byte[] b = serialize(o);    System.out.println("serialized "+o);    o = null;    printStats();    pause(1000);    // force gc    System.out.println("gc");    System.gc();    printStats();    pause(1000);    // deserialize it    o = deserialize(b);    System.out.println("deserialized "+o);    printStats();    System.out.println("end ");  }