2 Replies Latest reply: Feb 22, 2012 10:48 AM by user734247 RSS

    Question on the JRockit Heap diagnostics information

      Using the JRCMD, collected the JRockit Heap diagnostics data. Below is the output:

      --------- Detailed Heap Statistics: ---------
      69.5% 1240837k 316026 +1240837k [B
      8.5% 133278k 1562216 +133278k [C

      What does [B and [C stand for?

      what process is occupying this much of memory? What is B and C?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   
        • 1. Re: Question on the JRockit Heap diagnostics information
          That's a good question.

          It's a user unfriendly way to say to byte and character arrays ;) It should be changed.

          From the VM spec:
          B byte
          C char
          D double
          F float
          I int
          J long
          L<classname>; reference an instance of class <classname>
          S short
          Z boolean
          [ one dimension array                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
          • 2. Re: Question on the JRockit Heap diagnostics information
            Thanks for the clarification.
            It helps :)