Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
ac45a062
Commit
ac45a062
authored
Nov 04, 2002
by
Anthony Green
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New tests.
From-SVN: r58782
parent
cd1d3445
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
0 deletions
+52
-0
libjava/testsuite/libjava.loader/TestEarlyGC.java
+52
-0
libjava/testsuite/libjava.loader/TestEarlyGC.out
+0
-0
No files found.
libjava/testsuite/libjava.loader/TestEarlyGC.java
0 → 100644
View file @
ac45a062
public
class
TestEarlyGC
extends
ClassLoader
{
static
TestEarlyGC
[]
a
=
new
TestEarlyGC
[
10
];
byte
[]
code
=
{
-
54
,-
2
,-
70
,-
66
,
0
,
3
,
0
,
45
,
0
,
32
,
1
,
0
,
1
,
67
,
7
,
0
,
1
,
1
,
0
,
16
,
106
,
97
,
118
,
97
,
47
,
108
,
97
,
110
,
103
,
47
,
79
,
98
,
106
,
101
,
99
,
116
,
7
,
0
,
3
,
1
,
0
,
1
,
99
,
1
,
0
,
3
,
76
,
67
,
59
,
1
,
0
,
6
,
60
,
105
,
110
,
105
,
116
,
62
,
1
,
0
,
3
,
40
,
41
,
86
,
1
,
0
,
4
,
67
,
111
,
100
,
101
,
12
,
0
,
7
,
0
,
8
,
10
,
0
,
4
,
0
,
10
,
12
,
0
,
5
,
0
,
6
,
9
,
0
,
2
,
0
,
12
,
1
,
0
,
15
,
76
,
105
,
110
,
101
,
78
,
117
,
109
,
98
,
101
,
114
,
84
,
97
,
98
,
108
,
101
,
1
,
0
,
8
,
102
,
105
,
110
,
97
,
108
,
105
,
122
,
101
,
1
,
0
,
16
,
106
,
97
,
118
,
97
,
47
,
108
,
97
,
110
,
103
,
47
,
83
,
121
,
115
,
116
,
101
,
109
,
7
,
0
,
16
,
1
,
0
,
3
,
111
,
117
,
116
,
1
,
0
,
21
,
76
,
106
,
97
,
118
,
97
,
47
,
105
,
111
,
47
,
80
,
114
,
105
,
110
,
116
,
83
,
116
,
114
,
101
,
97
,
109
,
59
,
12
,
0
,
18
,
0
,
19
,
9
,
0
,
17
,
0
,
20
,
1
,
0
,
9
,
102
,
105
,
110
,
97
,
108
,
105
,
122
,
101
,
100
,
8
,
0
,
22
,
1
,
0
,
19
,
106
,
97
,
118
,
97
,
47
,
105
,
111
,
47
,
80
,
114
,
105
,
110
,
116
,
83
,
116
,
114
,
101
,
97
,
109
,
7
,
0
,
24
,
1
,
0
,
7
,
112
,
114
,
105
,
110
,
116
,
108
,
110
,
1
,
0
,
21
,
40
,
76
,
106
,
97
,
118
,
97
,
47
,
108
,
97
,
110
,
103
,
47
,
83
,
116
,
114
,
105
,
110
,
103
,
59
,
41
,
86
,
12
,
0
,
26
,
0
,
27
,
10
,
0
,
25
,
0
,
28
,
1
,
0
,
10
,
83
,
111
,
117
,
114
,
99
,
101
,
70
,
105
,
108
,
101
,
1
,
0
,
6
,
67
,
46
,
106
,
97
,
118
,
97
,
0
,
33
,
0
,
2
,
0
,
4
,
0
,
0
,
0
,
1
,
0
,
10
,
0
,
5
,
0
,
6
,
0
,
0
,
0
,
2
,
0
,
1
,
0
,
7
,
0
,
8
,
0
,
1
,
0
,
9
,
0
,
0
,
0
,
33
,
0
,
1
,
0
,
1
,
0
,
0
,
0
,
9
,
42
,-
73
,
0
,
11
,
42
,-
77
,
0
,
13
,-
79
,
0
,
0
,
0
,
1
,
0
,
14
,
0
,
0
,
0
,
6
,
0
,
1
,
0
,
4
,
0
,
5
,
0
,
4
,
0
,
15
,
0
,
8
,
0
,
1
,
0
,
9
,
0
,
0
,
0
,
33
,
0
,
2
,
0
,
1
,
0
,
0
,
0
,
9
,-
78
,
0
,
21
,
18
,
23
,-
74
,
0
,
29
,-
79
,
0
,
0
,
0
,
1
,
0
,
14
,
0
,
0
,
0
,
6
,
0
,
1
,
0
,
0
,
0
,
9
,
0
,
1
,
0
,
30
,
0
,
0
,
0
,
2
,
0
,
31
};
TestEarlyGC
()
throws
Throwable
{
defineClass
(
"C"
,
code
,
0
,
code
.
length
).
newInstance
();
}
public
static
void
main
(
String
[]
args
)
{
Runtime
r
=
Runtime
.
getRuntime
();
try
{
for
(
int
n
=
0
;
n
<
a
.
length
;
n
++)
{
a
[
n
]
=
new
TestEarlyGC
();
r
.
gc
();
r
.
runFinalization
();
Thread
.
yield
();
}
}
catch
(
Throwable
t
)
{
t
.
printStackTrace
();
}
}
}
libjava/testsuite/libjava.loader/TestEarlyGC.out
0 → 100644
View file @
ac45a062
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment