| 5340 | } |
| 5341 | |
| 5342 | unsigned parameterFootprint(Thread* t, const char* s, bool static_) |
| 5343 | { |
| 5344 | unsigned footprint = 0; |
| 5345 | for (MethodSpecIterator it(t, s); it.hasNext();) { |
| 5346 | switch (*it.next()) { |
| 5347 | case 'J': |
| 5348 | case 'D': |
| 5349 | footprint += 2; |
| 5350 | break; |
| 5351 | |
| 5352 | default: |
| 5353 | ++footprint; |
| 5354 | break; |
| 5355 | } |
| 5356 | } |
| 5357 | |
| 5358 | if (not static_) { |
| 5359 | ++footprint; |
| 5360 | } |
| 5361 | return footprint; |
| 5362 | } |
| 5363 | |
| 5364 | void addFinalizer(Thread* t, object target, void (*finalize)(Thread*, object)) |
| 5365 | { |
no test coverage detected