-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: add marker major and minor classes for ZGC cycle
- Loading branch information
Showing
10 changed files
with
218 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
api/src/main/java/com/microsoft/gctoolkit/event/zgc/MajorZGCCycle.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
package com.microsoft.gctoolkit.event.zgc; | ||
|
||
import com.microsoft.gctoolkit.event.GCCause; | ||
import com.microsoft.gctoolkit.event.GarbageCollectionTypes; | ||
import com.microsoft.gctoolkit.time.DateTimeStamp; | ||
|
||
public class MajorZGCCycle extends ZGCCycle { | ||
public MajorZGCCycle(DateTimeStamp timeStamp, GarbageCollectionTypes gcType, GCCause cause, double duration) { | ||
super(timeStamp, gcType, cause, duration); | ||
} | ||
|
||
public MajorZGCCycle(DateTimeStamp timeStamp, double duration) { | ||
super(timeStamp, duration); | ||
} | ||
|
||
public MajorZGCCycle(DateTimeStamp timeStamp, GCCause cause, double duration) { | ||
super(timeStamp, cause, duration); | ||
} | ||
|
||
public MajorZGCCycle(DateTimeStamp timeStamp, GarbageCollectionTypes gcType, double duration) { | ||
super(timeStamp, gcType, duration); | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
api/src/main/java/com/microsoft/gctoolkit/event/zgc/MinorZGCCycle.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright (c) Microsoft Corporation. | ||
// Licensed under the MIT License. | ||
package com.microsoft.gctoolkit.event.zgc; | ||
|
||
import com.microsoft.gctoolkit.event.GCCause; | ||
import com.microsoft.gctoolkit.event.GarbageCollectionTypes; | ||
import com.microsoft.gctoolkit.time.DateTimeStamp; | ||
|
||
public class MinorZGCCycle extends MajorZGCCycle { | ||
public MinorZGCCycle(DateTimeStamp timeStamp, GarbageCollectionTypes gcType, GCCause cause, double duration) { | ||
super(timeStamp, gcType, cause, duration); | ||
} | ||
|
||
public MinorZGCCycle(DateTimeStamp timeStamp, double duration) { | ||
super(timeStamp, duration); | ||
} | ||
|
||
public MinorZGCCycle(DateTimeStamp timeStamp, GCCause cause, double duration) { | ||
super(timeStamp, cause, duration); | ||
} | ||
|
||
public MinorZGCCycle(DateTimeStamp timeStamp, GarbageCollectionTypes gcType, double duration) { | ||
super(timeStamp, gcType, duration); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.