603 const char* code_string(const char* str) PRODUCT_RETURN_(return NULL;); 604 605 // Log a little info about section usage in the CodeBuffer 606 void log_section_sizes(const char* name); 607 608 #ifndef PRODUCT 609 public: 610 // Printing / Decoding 611 // decodes from decode_begin() to code_end() and sets decode_begin to end 612 void decode(); 613 void decode_all(); // decodes all the code 614 void skip_decode(); // sets decode_begin to code_end(); 615 void print(); 616 #endif 617 618 619 // The following header contains architecture-specific implementations 620 #ifdef TARGET_ARCH_x86 621 # include "codeBuffer_x86.hpp" 622 #endif 623 #ifdef TARGET_ARCH_sparc 624 # include "codeBuffer_sparc.hpp" 625 #endif 626 #ifdef TARGET_ARCH_zero 627 # include "codeBuffer_zero.hpp" 628 #endif 629 #ifdef TARGET_ARCH_arm 630 # include "codeBuffer_arm.hpp" 631 #endif 632 #ifdef TARGET_ARCH_ppc 633 # include "codeBuffer_ppc.hpp" 634 #endif 635 636 }; 637 638 639 inline void CodeSection::freeze() { 640 _outer->freeze_section(this); 641 } 642 | 603 const char* code_string(const char* str) PRODUCT_RETURN_(return NULL;); 604 605 // Log a little info about section usage in the CodeBuffer 606 void log_section_sizes(const char* name); 607 608 #ifndef PRODUCT 609 public: 610 // Printing / Decoding 611 // decodes from decode_begin() to code_end() and sets decode_begin to end 612 void decode(); 613 void decode_all(); // decodes all the code 614 void skip_decode(); // sets decode_begin to code_end(); 615 void print(); 616 #endif 617 618 619 // The following header contains architecture-specific implementations 620 #ifdef TARGET_ARCH_x86 621 # include "codeBuffer_x86.hpp" 622 #endif 623 #ifdef TARGET_ARCH_aarch64 624 # include "codeBuffer_aarch64.hpp" 625 #endif 626 #ifdef TARGET_ARCH_sparc 627 # include "codeBuffer_sparc.hpp" 628 #endif 629 #ifdef TARGET_ARCH_zero 630 # include "codeBuffer_zero.hpp" 631 #endif 632 #ifdef TARGET_ARCH_arm 633 # include "codeBuffer_arm.hpp" 634 #endif 635 #ifdef TARGET_ARCH_ppc 636 # include "codeBuffer_ppc.hpp" 637 #endif 638 639 }; 640 641 642 inline void CodeSection::freeze() { 643 _outer->freeze_section(this); 644 } 645 |