Skip to content

Commit cb95633

Browse files
[GR-69529] Fix DebugLog.
PullRequest: graal/22078
2 parents 3322911 + 6dd3551 commit cb95633

File tree

1 file changed

+42
-42
lines changed
  • substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/log

1 file changed

+42
-42
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/log/DebugLog.java

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -52,278 +52,278 @@ public boolean isEnabled() {
5252
@Override
5353
@NeverInline("Logging is always slow-path code")
5454
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
55-
public Log string(String value) {
55+
public DebugLog string(String value) {
5656
string0(value);
5757
return this;
5858
}
5959

6060
@Override
6161
@NeverInline("Logging is always slow-path code")
6262
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
63-
public Log string(String str, int fill, int align) {
63+
public DebugLog string(String str, int fill, int align) {
6464
string0(str, fill, align);
6565
return this;
6666
}
6767

6868
@Override
6969
@NeverInline("Logging is always slow-path code")
7070
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
71-
public Log string(String value, int maxLen) {
71+
public DebugLog string(String value, int maxLen) {
7272
string0(value, maxLen);
7373
return this;
7474
}
7575

7676
@Override
7777
@NeverInline("Logging is always slow-path code")
7878
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
79-
public Log string(char[] value) {
79+
public DebugLog string(char[] value) {
8080
string0(value);
8181
return this;
8282
}
8383

8484
@Override
8585
@NeverInline("Logging is always slow-path code")
8686
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
87-
public Log string(byte[] value) {
87+
public DebugLog string(byte[] value) {
8888
string0(value);
8989
return this;
9090
}
9191

9292
@Override
9393
@NeverInline("Logging is always slow-path code")
9494
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
95-
public Log string(byte[] value, int offset, int length) {
95+
public DebugLog string(byte[] value, int offset, int length) {
9696
string0(value, offset, length);
9797
return this;
9898
}
9999

100100
@Override
101101
@NeverInline("Logging is always slow-path code")
102102
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
103-
public Log string(CCharPointer value) {
103+
public DebugLog string(CCharPointer value) {
104104
string0(value);
105105
return this;
106106
}
107107

108108
@Override
109109
@NeverInline("Logging is always slow-path code")
110110
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
111-
public Log string(CCharPointer value, int length) {
111+
public DebugLog string(CCharPointer value, int length) {
112112
string0(value, length);
113113
return this;
114114
}
115115

116116
@Override
117117
@NeverInline("Logging is always slow-path code")
118118
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
119-
public Log character(char value) {
119+
public DebugLog character(char value) {
120120
character0(value);
121121
return this;
122122
}
123123

124124
@Override
125125
@NeverInline("Logging is always slow-path code")
126126
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
127-
public Log newline() {
127+
public DebugLog newline() {
128128
newline0();
129129
return this;
130130
}
131131

132132
@Override
133133
@NeverInline("Logging is always slow-path code")
134134
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
135-
public Log number(long value, int radix, boolean signed) {
135+
public DebugLog number(long value, int radix, boolean signed) {
136136
number0(value, radix, signed);
137137
return this;
138138
}
139139

140140
@Override
141141
@NeverInline("Logging is always slow-path code")
142142
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
143-
public Log signed(WordBase value) {
143+
public DebugLog signed(WordBase value) {
144144
signed0(value);
145145
return this;
146146
}
147147

148148
@Override
149149
@NeverInline("Logging is always slow-path code")
150150
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
151-
public Log signed(int value) {
151+
public DebugLog signed(int value) {
152152
signed0(value);
153153
return this;
154154
}
155155

156156
@Override
157157
@NeverInline("Logging is always slow-path code")
158158
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
159-
public Log signed(long value) {
159+
public DebugLog signed(long value) {
160160
signed0(value);
161161
return this;
162162
}
163163

164164
@Override
165165
@NeverInline("Logging is always slow-path code")
166166
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
167-
public Log signed(long value, int fill, int align) {
167+
public DebugLog signed(long value, int fill, int align) {
168168
signed0(value, fill, align);
169169
return this;
170170
}
171171

172172
@Override
173173
@NeverInline("Logging is always slow-path code")
174174
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
175-
public Log unsigned(WordBase value) {
175+
public DebugLog unsigned(WordBase value) {
176176
unsigned0(value);
177177
return this;
178178
}
179179

180180
@Override
181181
@NeverInline("Logging is always slow-path code")
182182
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
183-
public Log unsigned(WordBase value, int fill, int align) {
183+
public DebugLog unsigned(WordBase value, int fill, int align) {
184184
unsigned0(value, fill, align);
185185
return this;
186186
}
187187

188188
@Override
189189
@NeverInline("Logging is always slow-path code")
190190
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
191-
public Log unsigned(int value) {
191+
public DebugLog unsigned(int value) {
192192
unsigned0(value);
193193
return this;
194194
}
195195

196196
@Override
197197
@NeverInline("Logging is always slow-path code")
198198
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
199-
public Log unsigned(long value) {
199+
public DebugLog unsigned(long value) {
200200
unsigned0(value);
201201
return this;
202202
}
203203

204204
@Override
205205
@NeverInline("Logging is always slow-path code")
206206
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
207-
public Log unsigned(long value, int fill, int align) {
207+
public DebugLog unsigned(long value, int fill, int align) {
208208
unsigned0(value, fill, align);
209209
return this;
210210
}
211211

212212
@Override
213213
@NeverInline("Logging is always slow-path code")
214214
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
215-
public Log rational(long numerator, long denominator, long decimals) {
215+
public DebugLog rational(long numerator, long denominator, long decimals) {
216216
rational0(numerator, denominator, decimals);
217217
return this;
218218
}
219219

220220
@Override
221221
@NeverInline("Logging is always slow-path code")
222222
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
223-
public Log rational(UnsignedWord numerator, long denominator, long decimals) {
223+
public DebugLog rational(UnsignedWord numerator, long denominator, long decimals) {
224224
rational0(numerator, denominator, decimals);
225225
return this;
226226
}
227227

228228
@Override
229229
@NeverInline("Logging is always slow-path code")
230230
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
231-
public Log hex(WordBase value) {
231+
public DebugLog hex(WordBase value) {
232232
hex0(value);
233233
return this;
234234
}
235235

236236
@Override
237237
@NeverInline("Logging is always slow-path code")
238238
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
239-
public Log hex(int value) {
239+
public DebugLog hex(int value) {
240240
hex0(value);
241241
return this;
242242
}
243243

244244
@Override
245245
@NeverInline("Logging is always slow-path code")
246246
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
247-
public Log hex(long value) {
247+
public DebugLog hex(long value) {
248248
hex0(value);
249249
return this;
250250
}
251251

252252
@Override
253253
@NeverInline("Logging is always slow-path code")
254254
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
255-
public Log zhex(WordBase value) {
255+
public DebugLog zhex(WordBase value) {
256256
zhex0(value);
257257
return this;
258258
}
259259

260260
@Override
261261
@NeverInline("Logging is always slow-path code")
262262
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
263-
public Log zhex(long value) {
263+
public DebugLog zhex(long value) {
264264
zhex0(value);
265265
return this;
266266
}
267267

268268
@Override
269269
@NeverInline("Logging is always slow-path code")
270270
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
271-
public Log zhex(int value) {
271+
public DebugLog zhex(int value) {
272272
zhex0(value);
273273
return this;
274274
}
275275

276276
@Override
277277
@NeverInline("Logging is always slow-path code")
278278
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
279-
public Log zhex(short value) {
279+
public DebugLog zhex(short value) {
280280
zhex0(value);
281281
return this;
282282
}
283283

284284
@Override
285285
@NeverInline("Logging is always slow-path code")
286286
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
287-
public Log zhex(byte value) {
287+
public DebugLog zhex(byte value) {
288288
zhex0(value);
289289
return this;
290290
}
291291

292292
@Override
293293
@NeverInline("Logging is always slow-path code")
294294
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
295-
public Log hexdump(PointerBase from, int wordSize, int numWords) {
295+
public DebugLog hexdump(PointerBase from, int wordSize, int numWords) {
296296
hexdump0(from, wordSize, numWords);
297297
return this;
298298
}
299299

300300
@Override
301301
@NeverInline("Logging is always slow-path code")
302302
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
303-
public Log hexdump(PointerBase from, int wordSize, int numWords, int bytesPerLine) {
303+
public DebugLog hexdump(PointerBase from, int wordSize, int numWords, int bytesPerLine) {
304304
hexdump0(from, wordSize, numWords);
305305
return this;
306306
}
307307

308308
@Override
309309
@NeverInline("Logging is always slow-path code")
310310
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
311-
public Log redent(boolean addOrRemove) {
311+
public DebugLog redent(boolean addOrRemove) {
312312
redent0(addOrRemove);
313313
return this;
314314
}
315315

316316
@Override
317317
@NeverInline("Logging is always slow-path code")
318318
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
319-
public Log indent(boolean addOrRemove) {
319+
public DebugLog indent(boolean addOrRemove) {
320320
indent0(addOrRemove);
321321
return this;
322322
}
323323

324324
@Override
325325
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE, mayBeInlined = true)
326-
public Log resetIndentation() {
326+
public DebugLog resetIndentation() {
327327
resetIndentation0();
328328
return this;
329329
}
@@ -337,55 +337,55 @@ public int getIndentation() {
337337
@Override
338338
@NeverInline("Logging is always slow-path code")
339339
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
340-
public Log bool(boolean value) {
340+
public DebugLog bool(boolean value) {
341341
bool0(value);
342342
return this;
343343
}
344344

345345
@Override
346346
@NeverInline("Logging is always slow-path code")
347347
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
348-
public Log object(Object value) {
348+
public DebugLog object(Object value) {
349349
object0(value);
350350
return this;
351351
}
352352

353353
@Override
354354
@NeverInline("Logging is always slow-path code")
355355
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
356-
public Log spaces(int value) {
356+
public DebugLog spaces(int value) {
357357
spaces0(value);
358358
return this;
359359
}
360360

361361
@Override
362362
@NeverInline("Logging is always slow-path code")
363363
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
364-
public Log exception(Throwable t) {
364+
public DebugLog exception(Throwable t) {
365365
exception0(t);
366366
return this;
367367
}
368368

369369
@Override
370370
@NeverInline("Logging is always slow-path code")
371371
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
372-
public Log exception(Throwable t, int maxFrames) {
372+
public DebugLog exception(Throwable t, int maxFrames) {
373373
exception0(t, maxFrames);
374374
return this;
375375
}
376376

377377
@Override
378378
@NeverInline("Logging is always slow-path code")
379379
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
380-
public Log flush() {
380+
public DebugLog flush() {
381381
ImageSingletons.lookup(StdErrWriter.class).flush();
382382
return this;
383383
}
384384

385385
@Override
386386
@NeverInline("Logging is always slow-path code")
387387
@Uninterruptible(reason = CALLED_FROM_UNINTERRUPTIBLE_CODE)
388-
protected Log rawBytes(CCharPointer bytes, UnsignedWord length) {
388+
protected DebugLog rawBytes(CCharPointer bytes, UnsignedWord length) {
389389
ImageSingletons.lookup(StdErrWriter.class).log(bytes, length);
390390
return this;
391391
}

0 commit comments

Comments
 (0)