< prev index next >

src/hotspot/share/asm/codeBuffer.hpp

Print this page
@@ -87,10 +87,11 @@
  // This class represents a stream of code and associated relocations.
  // There are a few in each CodeBuffer.
  // They are filled concurrently, and concatenated at the end.
  class CodeSection {
    friend class CodeBuffer;
+   friend class SCCReader;
   public:
    typedef int csize_t;  // code size type; would be size_t except for history
  
   private:
    address     _start;           // first byte of contents (instructions)

@@ -384,10 +385,11 @@
  // addresses in a sibling section.
  
  class CodeBuffer: public StackObj DEBUG_ONLY(COMMA private Scrubber) {
    friend class CodeSection;
    friend class StubCodeGenerator;
+   friend class SCCReader;
  
   private:
    // CodeBuffers must be allocated on the stack except for a single
    // special case during expansion which is handled internally.  This
    // is done to guarantee proper cleanup of resources.
< prev index next >