equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
426 switch (phase->level()) { |
426 switch (phase->level()) { |
427 case 0: send_phase<EventGCPhasePause>(phase); break; |
427 case 0: send_phase<EventGCPhasePause>(phase); break; |
428 case 1: send_phase<EventGCPhasePauseLevel1>(phase); break; |
428 case 1: send_phase<EventGCPhasePauseLevel1>(phase); break; |
429 case 2: send_phase<EventGCPhasePauseLevel2>(phase); break; |
429 case 2: send_phase<EventGCPhasePauseLevel2>(phase); break; |
430 case 3: send_phase<EventGCPhasePauseLevel3>(phase); break; |
430 case 3: send_phase<EventGCPhasePauseLevel3>(phase); break; |
|
431 case 4: send_phase<EventGCPhasePauseLevel4>(phase); break; |
431 default: /* Ignore sending this phase */ break; |
432 default: /* Ignore sending this phase */ break; |
432 } |
433 } |
433 } |
434 } |
434 |
435 |
435 void visit_concurrent(GCPhase* phase) { |
436 void visit_concurrent(GCPhase* phase) { |