hotspot/src/share/vm/interpreter/rewriter.cpp
changeset 31587 e48945b7849c
parent 30764 fec48bf5a827
child 33593 60764a78fa5c
equal deleted inserted replaced
31586:6e57742d1adb 31587:e48945b7849c
   105 // Object.<init> constructor.  We could implement this trivially if
   105 // Object.<init> constructor.  We could implement this trivially if
   106 // <init> were never rewritten but since JVMTI allows this to occur, a
   106 // <init> were never rewritten but since JVMTI allows this to occur, a
   107 // more complicated solution is required.  A special return bytecode
   107 // more complicated solution is required.  A special return bytecode
   108 // is used only by Object.<init> to signal the finalization
   108 // is used only by Object.<init> to signal the finalization
   109 // registration point.  Additionally local 0 must be preserved so it's
   109 // registration point.  Additionally local 0 must be preserved so it's
   110 // available to pass to the registration function.  For simplicty we
   110 // available to pass to the registration function.  For simplicity we
   111 // require that local 0 is never overwritten so it's available as an
   111 // require that local 0 is never overwritten so it's available as an
   112 // argument for registration.
   112 // argument for registration.
   113 
   113 
   114 void Rewriter::rewrite_Object_init(methodHandle method, TRAPS) {
   114 void Rewriter::rewrite_Object_init(methodHandle method, TRAPS) {
   115   RawBytecodeStream bcs(method);
   115   RawBytecodeStream bcs(method);