--- a/src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordedThreadGroup.java Mon Jul 08 18:11:26 2019 +0200
+++ b/src/jdk.jfr/share/classes/jdk/jfr/consumer/RecordedThreadGroup.java Mon Jul 08 23:08:05 2019 +0200
@@ -25,9 +25,6 @@
package jdk.jfr.consumer;
-import java.util.List;
-
-import jdk.jfr.ValueDescriptor;
import jdk.jfr.internal.Type;
/**
@@ -38,16 +35,16 @@
public final class RecordedThreadGroup extends RecordedObject {
static ObjectFactory<RecordedThreadGroup> createFactory(Type type, TimeConverter timeConverter) {
- return new ObjectFactory<RecordedThreadGroup>(type) {
+ return new ObjectFactory<RecordedThreadGroup>(type, timeConverter) {
@Override
- RecordedThreadGroup createTyped(List<ValueDescriptor> desc, long id, Object[] object) {
- return new RecordedThreadGroup(desc, object, timeConverter);
+ RecordedThreadGroup createTyped(ObjectContext objectContext, long id, Object[] values) {
+ return new RecordedThreadGroup(objectContext, values);
}
};
}
- private RecordedThreadGroup(List<ValueDescriptor> descriptors, Object[] objects, TimeConverter timeConverter) {
- super(descriptors, objects, timeConverter);
+ private RecordedThreadGroup(ObjectContext objectContext, Object[] values) {
+ super(objectContext, values);
}
/**