Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

20151202課題 #366

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion 20151202/src/enshu_20151202/src/GCTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,15 @@ void *_ThreadStart(void *arg){

bool do_delete = true;


/*
typedef vector<int> Elem;
typedef vector<int>* ElemPtr;
typedef vector<ElemPtr>* ElemPtrVec;
*/
#include <boost/shared_ptr.hpp>
typedef vector<int> Elem;
typedef boost::shared_ptr<vector<int> > ElemPtr;
typedef boost::shared_ptr<vector<ElemPtr> > ElemPtrVec;

class Mutator : public Thread {
bool loop;
Expand Down
10 changes: 10 additions & 0 deletions 20151202/src/enshu_20151202/src/GCTest.gc.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
0.118: [GC 62976K->50584K(241408K), 0.0497140 secs]
0.230: [GC 113560K->101202K(304384K), 0.0562820 secs]
0.414: [GC 227154K->99033K(304384K), 0.0074850 secs]
0.563: [GC 224985K->203282K(455680K), 0.1054890 secs]
0.668: [Full GC 203282K->112332K(595840K), 1.3826150 secs]
2.337: [GC 364236K->321112K(595840K), 0.1673270 secs]
2.504: [Full GC 321112K->124453K(774592K), 1.5518430 secs]
4.208: [GC 376357K->332693K(1002112K), 0.1501460 secs]
4.463: [GC 607317K->362112K(1049344K), 0.1755490 secs]
4.741: [GC 636736K->388506K(1141312K), 0.1636950 secs]
15 changes: 15 additions & 0 deletions 20151202/src/enshu_20151202/src/GCTest.incgc.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
0.131: [GC 67200K->71959K(243520K), 0.2846730 secs]
0.444: [GC 103165K(243520K), 0.0260650 secs]
0.508: [GC 139159K->147635K(243520K), 0.0880170 secs]
0.663: [GC 214835K->224812K(292480K), 0.0956570 secs]
0.829: [GC 292012K->302477K(370048K), 0.0951810 secs]
0.990: [GC 369677K->380138K(447808K), 0.1136870 secs]
1.170: [GC 447338K->457630K(525184K), 0.1042460 secs]
1.344: [GC 524830K->535108K(602752K), 0.1027670 secs]
1.517: [GC 602308K->612523K(680128K), 0.1078070 secs]
1.694: [GC 679723K->689894K(757696K), 0.1039520 secs]
1.864: [GC 757094K->767224K(834880K), 0.1038330 secs]
2.037: [GC 834424K->844816K(912448K), 0.1165400 secs]
2.223: [GC 912016K->920326K(987904K), 0.1031800 secs]
2.390: [GC 987526K->997465K(1065088K), 0.0945280 secs]
2.553: [GC 1064665K->1075116K(1142848K), 0.1004290 secs]