src/share/vm/gc_interface/collectedHeap.hpp

changeset 7298
ef9eda2c1abe
parent 7160
c10b463abc6e
child 7535
7ae4e26cb1e0
equal deleted inserted replaced
7297:678a467a733b 7298:ef9eda2c1abe
639 639
640 // Copy the current allocation context statistics for the specified contexts. 640 // Copy the current allocation context statistics for the specified contexts.
641 // For each context in contexts, set the corresponding entries in the totals 641 // For each context in contexts, set the corresponding entries in the totals
642 // and accuracy arrays to the current values held by the statistics. Each 642 // and accuracy arrays to the current values held by the statistics. Each
643 // array should be of length len. 643 // array should be of length len.
644 virtual void copy_allocation_context_stats(const jint* contexts, 644 // Returns true if there are more stats available.
645 virtual bool copy_allocation_context_stats(const jint* contexts,
645 jlong* totals, 646 jlong* totals,
646 jbyte* accuracy, 647 jbyte* accuracy,
647 jint len) { } 648 jint len) {
649 return false;
650 }
648 651
649 /////////////// Unit tests /////////////// 652 /////////////// Unit tests ///////////////
650 653
651 NOT_PRODUCT(static void test_is_in();) 654 NOT_PRODUCT(static void test_is_in();)
652 }; 655 };

mercurial