hotspot/src/cpu/x86/vm/methodHandles_x86.hpp
changeset 9976 6fef34e63df1
parent 9630 d6419e4395e3
child 10031 e81ae8b523dc
--- a/hotspot/src/cpu/x86/vm/methodHandles_x86.hpp	Thu Jun 02 13:36:11 2011 -0700
+++ b/hotspot/src/cpu/x86/vm/methodHandles_x86.hpp	Fri Jun 03 22:31:43 2011 -0700
@@ -25,6 +25,11 @@
 // Platform-specific definitions for method handles.
 // These definitions are inlined into class MethodHandles.
 
+// Adapters
+enum /* platform_dependent_constants */ {
+  adapter_code_size = NOT_LP64(30000 DEBUG_ONLY(+ 10000)) LP64_ONLY(80000 DEBUG_ONLY(+ 120000))
+};
+
 public:
 
 // The stack just after the recursive call from a ricochet frame
@@ -188,7 +193,9 @@
 
   static void generate_ricochet_blob(MacroAssembler* _masm,
                                      // output params:
-                                     int* frame_size_in_words, int* bounce_offset, int* exception_offset);
+                                     int* bounce_offset,
+                                     int* exception_offset,
+                                     int* frame_size_in_words);
 
   static void enter_ricochet_frame(MacroAssembler* _masm,
                                    Register rcx_recv,