• Bug
  • Status: Resolved
  • 2 Major
  • Resolution: Won't Fix
  • interfaces
  • Reporter: teck
  • June 10, 2009
  • 0
  • Watchers: 2
  • February 12, 2014
  • February 12, 2014

Description

If you increase the NUM_FIELDS constant in ManyFieldsTest things should start exploding due to method body length violations.

There are problems in both the server and client generated classes for this. Basically the methods that iterate over all fields start to exceed the 64k method length.

Comments

Chris Dennis 2009-06-12

We might also want to look out for generated methods (these and others) that exceed 8000 bytes as these won’t be compiled by Hotspot by default (you can raise this threshold -XX:HugeMethodLimit= but its generally speaking a stupid idea - leads to HotSpot crashes due to running out of resources).

Hung Huynh 2014-02-12

DSO is discontinued