diff --git a/NOTICE b/NOTICE index 6c78e2f..be448d0 100644 --- a/NOTICE +++ b/NOTICE @@ -1,5 +1,5 @@ Aprof - Java Memory Allocation Profiler -Copyright (C) 2002-2014 Devexperts LLC +Copyright (C) 2002-2017 Devexperts LLC This product is developed at Devexperts LLC (http://devexperts.com/). Licensed under the GNU General Public License, Version 3. @@ -28,7 +28,7 @@ Copyright (C) 2002-2012 Devexperts LLC The class is licensed under the Mozilla Public License, Version 2.0. This product includes software developed at The OW2 Consortium (http://asm.objectweb.org/). -Copyright (c) 2000-2005 INRIA, France Telecom. +Copyright (c) 2000-2011 INRIA, France Telecom. Licensed under the Modified BSD License. Full text of the licence can be found in the LICENSE.asm file. diff --git a/agent/pom.xml b/agent/pom.xml index 4a7fc87..18d5c30 100644 --- a/agent/pom.xml +++ b/agent/pom.xml @@ -1,21 +1,3 @@ - - 4.0.0 diff --git a/agent/src/assembly/bin.xml b/agent/src/assembly/bin.xml index ee11228..ac7841a 100644 --- a/agent/src/assembly/bin.xml +++ b/agent/src/assembly/bin.xml @@ -1,19 +1,23 @@ . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.benchmark; - import org.openjdk.jmh.annotations.GenerateMicroBenchmark; public class BenchmarkEscapeAnalysis { diff --git a/benchmark/src/main/java/com/devexperts/aprof/benchmark/BenchmarkIO.java b/benchmark/src/main/java/com/devexperts/aprof/benchmark/BenchmarkIO.java index 2bc987c..3b6445b 100644 --- a/benchmark/src/main/java/com/devexperts/aprof/benchmark/BenchmarkIO.java +++ b/benchmark/src/main/java/com/devexperts/aprof/benchmark/BenchmarkIO.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.benchmark; +/*- + * #%L + * JMH benchmarks + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.*; import org.openjdk.jmh.annotations.*; diff --git a/benchmark/src/main/java/com/devexperts/aprof/benchmark/BenchmarkPrimitives.java b/benchmark/src/main/java/com/devexperts/aprof/benchmark/BenchmarkPrimitives.java index b80b9e3..dd4ffbd 100644 --- a/benchmark/src/main/java/com/devexperts/aprof/benchmark/BenchmarkPrimitives.java +++ b/benchmark/src/main/java/com/devexperts/aprof/benchmark/BenchmarkPrimitives.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.benchmark; + +/*- + * #%L + * JMH benchmarks + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.benchmark; - import org.openjdk.jmh.annotations.GenerateMicroBenchmark; public class BenchmarkPrimitives { diff --git a/core/pom.xml b/core/pom.xml index a26dcd4..e3392c0 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -1,21 +1,3 @@ - - 4.0.0 diff --git a/core/src/main/java/com/devexperts/aprof/AProfAgent.java b/core/src/main/java/com/devexperts/aprof/AProfAgent.java index 5acacce..ac2e943 100644 --- a/core/src/main/java/com/devexperts/aprof/AProfAgent.java +++ b/core/src/main/java/com/devexperts/aprof/AProfAgent.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.io.*; import java.lang.instrument.*; import java.lang.reflect.Constructor; diff --git a/core/src/main/java/com/devexperts/aprof/AProfOps.java b/core/src/main/java/com/devexperts/aprof/AProfOps.java index d264cb9..1c6672b 100644 --- a/core/src/main/java/com/devexperts/aprof/AProfOps.java +++ b/core/src/main/java/com/devexperts/aprof/AProfOps.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.lang.reflect.Array; import static com.devexperts.aprof.AProfRegistry.*; diff --git a/core/src/main/java/com/devexperts/aprof/AProfOpsInternal.java b/core/src/main/java/com/devexperts/aprof/AProfOpsInternal.java index fb7b7a2..7b25059 100644 --- a/core/src/main/java/com/devexperts/aprof/AProfOpsInternal.java +++ b/core/src/main/java/com/devexperts/aprof/AProfOpsInternal.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import static com.devexperts.aprof.AProfRegistry.getRootIndex; import static com.devexperts.aprof.AProfSizeUtil.*; diff --git a/core/src/main/java/com/devexperts/aprof/AProfRegistry.java b/core/src/main/java/com/devexperts/aprof/AProfRegistry.java index c0428a2..8eb38d5 100644 --- a/core/src/main/java/com/devexperts/aprof/AProfRegistry.java +++ b/core/src/main/java/com/devexperts/aprof/AProfRegistry.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLong; diff --git a/core/src/main/java/com/devexperts/aprof/AProfSizeUtil.java b/core/src/main/java/com/devexperts/aprof/AProfSizeUtil.java index 5028f9d..61bed23 100644 --- a/core/src/main/java/com/devexperts/aprof/AProfSizeUtil.java +++ b/core/src/main/java/com/devexperts/aprof/AProfSizeUtil.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.lang.instrument.Instrumentation; import com.devexperts.aprof.util.UnsafeHolder; diff --git a/core/src/main/java/com/devexperts/aprof/AProfTools.java b/core/src/main/java/com/devexperts/aprof/AProfTools.java index a8bf7fd..e07a29d 100644 --- a/core/src/main/java/com/devexperts/aprof/AProfTools.java +++ b/core/src/main/java/com/devexperts/aprof/AProfTools.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.io.*; import java.lang.reflect.Method; import java.net.Socket; diff --git a/core/src/main/java/com/devexperts/aprof/Configuration.java b/core/src/main/java/com/devexperts/aprof/Configuration.java index 000f2c1..96a5d32 100644 --- a/core/src/main/java/com/devexperts/aprof/Configuration.java +++ b/core/src/main/java/com/devexperts/aprof/Configuration.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.io.*; import java.lang.annotation.Retention; import java.lang.annotation.RetentionPolicy; diff --git a/core/src/main/java/com/devexperts/aprof/DatatypeInfo.java b/core/src/main/java/com/devexperts/aprof/DatatypeInfo.java index e6dbbda..c09c0f5 100644 --- a/core/src/main/java/com/devexperts/aprof/DatatypeInfo.java +++ b/core/src/main/java/com/devexperts/aprof/DatatypeInfo.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.util.Comparator; /** diff --git a/core/src/main/java/com/devexperts/aprof/DetailsConfiguration.java b/core/src/main/java/com/devexperts/aprof/DetailsConfiguration.java index ef84549..7ab4802 100644 --- a/core/src/main/java/com/devexperts/aprof/DetailsConfiguration.java +++ b/core/src/main/java/com/devexperts/aprof/DetailsConfiguration.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.io.*; import java.util.*; diff --git a/core/src/main/java/com/devexperts/aprof/HistogramConfiguration.java b/core/src/main/java/com/devexperts/aprof/HistogramConfiguration.java index 976ac28..82d3c50 100644 --- a/core/src/main/java/com/devexperts/aprof/HistogramConfiguration.java +++ b/core/src/main/java/com/devexperts/aprof/HistogramConfiguration.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.io.*; import java.util.*; diff --git a/core/src/main/java/com/devexperts/aprof/IndexMap.java b/core/src/main/java/com/devexperts/aprof/IndexMap.java index d54caee..789d12c 100644 --- a/core/src/main/java/com/devexperts/aprof/IndexMap.java +++ b/core/src/main/java/com/devexperts/aprof/IndexMap.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import com.devexperts.aprof.util.UnsafeHolder; @Internal diff --git a/core/src/main/java/com/devexperts/aprof/IndexMapVisitor.java b/core/src/main/java/com/devexperts/aprof/IndexMapVisitor.java index 76d0e4a..cdcaf46 100644 --- a/core/src/main/java/com/devexperts/aprof/IndexMapVisitor.java +++ b/core/src/main/java/com/devexperts/aprof/IndexMapVisitor.java @@ -1,5 +1,27 @@ package com.devexperts.aprof; +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + /** * @author Roman Elizarov */ diff --git a/core/src/main/java/com/devexperts/aprof/Internal.java b/core/src/main/java/com/devexperts/aprof/Internal.java index 06808f0..5c39e3d 100644 --- a/core/src/main/java/com/devexperts/aprof/Internal.java +++ b/core/src/main/java/com/devexperts/aprof/Internal.java @@ -1,5 +1,27 @@ package com.devexperts.aprof; +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + import java.lang.annotation.*; /** diff --git a/core/src/main/java/com/devexperts/aprof/LocationStack.java b/core/src/main/java/com/devexperts/aprof/LocationStack.java index f11a804..b523b03 100644 --- a/core/src/main/java/com/devexperts/aprof/LocationStack.java +++ b/core/src/main/java/com/devexperts/aprof/LocationStack.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - /** * @author Dmitry Paraschenko */ diff --git a/core/src/main/java/com/devexperts/aprof/LocationStackThreadLocal.java b/core/src/main/java/com/devexperts/aprof/LocationStackThreadLocal.java index 5ba32b9..0fc3281 100644 --- a/core/src/main/java/com/devexperts/aprof/LocationStackThreadLocal.java +++ b/core/src/main/java/com/devexperts/aprof/LocationStackThreadLocal.java @@ -1,5 +1,27 @@ package com.devexperts.aprof; +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + /** * @author Roman Elizarov */ diff --git a/core/src/main/java/com/devexperts/aprof/RootIndexMap.java b/core/src/main/java/com/devexperts/aprof/RootIndexMap.java index feec372..bf68067 100644 --- a/core/src/main/java/com/devexperts/aprof/RootIndexMap.java +++ b/core/src/main/java/com/devexperts/aprof/RootIndexMap.java @@ -1,5 +1,27 @@ package com.devexperts.aprof; +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + public class RootIndexMap extends IndexMap { /** * The corresponding datatype. diff --git a/core/src/main/java/com/devexperts/aprof/Version.java b/core/src/main/java/com/devexperts/aprof/Version.java index d6fbe1c..0948493 100644 --- a/core/src/main/java/com/devexperts/aprof/Version.java +++ b/core/src/main/java/com/devexperts/aprof/Version.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - /** * @author Roman Elizarov */ @@ -40,7 +44,7 @@ private static String createVersion(boolean full) { sb.append("Aprof "); sb.append(version == null ? "version unknown" : version); if (full) - sb.append(", Copyright (C) 2002-2014 Devexperts LLC"); + sb.append(", Copyright (C) 2002-2017 Devexperts LLC"); return sb.toString(); } } diff --git a/core/src/main/java/com/devexperts/aprof/dump/ConnectionHandlerThread.java b/core/src/main/java/com/devexperts/aprof/dump/ConnectionHandlerThread.java index c386d99..6568af7 100644 --- a/core/src/main/java/com/devexperts/aprof/dump/ConnectionHandlerThread.java +++ b/core/src/main/java/com/devexperts/aprof/dump/ConnectionHandlerThread.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.dump; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.dump; - import java.io.*; import java.net.Socket; import java.util.Locale; diff --git a/core/src/main/java/com/devexperts/aprof/dump/ConnectionListenerThread.java b/core/src/main/java/com/devexperts/aprof/dump/ConnectionListenerThread.java index a6c396d..d959854 100644 --- a/core/src/main/java/com/devexperts/aprof/dump/ConnectionListenerThread.java +++ b/core/src/main/java/com/devexperts/aprof/dump/ConnectionListenerThread.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.dump; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.dump; - import java.io.IOException; import java.net.ServerSocket; import java.net.Socket; diff --git a/core/src/main/java/com/devexperts/aprof/dump/DumpFormatter.java b/core/src/main/java/com/devexperts/aprof/dump/DumpFormatter.java index 607d2ac..863c78b 100644 --- a/core/src/main/java/com/devexperts/aprof/dump/DumpFormatter.java +++ b/core/src/main/java/com/devexperts/aprof/dump/DumpFormatter.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.dump; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.dump; - import java.io.PrintWriter; import java.util.Comparator; diff --git a/core/src/main/java/com/devexperts/aprof/dump/DumpPeriodicThread.java b/core/src/main/java/com/devexperts/aprof/dump/DumpPeriodicThread.java index 75ee9b2..f21e024 100644 --- a/core/src/main/java/com/devexperts/aprof/dump/DumpPeriodicThread.java +++ b/core/src/main/java/com/devexperts/aprof/dump/DumpPeriodicThread.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.dump; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.dump; - import com.devexperts.aprof.AProfRegistry; import com.devexperts.aprof.util.Log; diff --git a/core/src/main/java/com/devexperts/aprof/dump/DumpShutdownThread.java b/core/src/main/java/com/devexperts/aprof/dump/DumpShutdownThread.java index ecc5729..2cff551 100644 --- a/core/src/main/java/com/devexperts/aprof/dump/DumpShutdownThread.java +++ b/core/src/main/java/com/devexperts/aprof/dump/DumpShutdownThread.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.dump; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.dump; - import com.devexperts.aprof.AProfRegistry; import com.devexperts.aprof.util.Log; diff --git a/core/src/main/java/com/devexperts/aprof/dump/Dumper.java b/core/src/main/java/com/devexperts/aprof/dump/Dumper.java index 74884d3..57697c5 100644 --- a/core/src/main/java/com/devexperts/aprof/dump/Dumper.java +++ b/core/src/main/java/com/devexperts/aprof/dump/Dumper.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.dump; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.dump; - import java.io.*; import com.devexperts.aprof.*; diff --git a/core/src/main/java/com/devexperts/aprof/dump/SnapshotDeep.java b/core/src/main/java/com/devexperts/aprof/dump/SnapshotDeep.java index f76c544..b6278cb 100644 --- a/core/src/main/java/com/devexperts/aprof/dump/SnapshotDeep.java +++ b/core/src/main/java/com/devexperts/aprof/dump/SnapshotDeep.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.dump; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.dump; - import java.io.*; import java.util.Comparator; diff --git a/core/src/main/java/com/devexperts/aprof/dump/SnapshotRoot.java b/core/src/main/java/com/devexperts/aprof/dump/SnapshotRoot.java index aaa0932..4a40319 100644 --- a/core/src/main/java/com/devexperts/aprof/dump/SnapshotRoot.java +++ b/core/src/main/java/com/devexperts/aprof/dump/SnapshotRoot.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.dump; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.dump; - /** * @author Roman Elizarov */ diff --git a/core/src/main/java/com/devexperts/aprof/dump/SnapshotShallow.java b/core/src/main/java/com/devexperts/aprof/dump/SnapshotShallow.java index 9b5013d..c194bcd 100644 --- a/core/src/main/java/com/devexperts/aprof/dump/SnapshotShallow.java +++ b/core/src/main/java/com/devexperts/aprof/dump/SnapshotShallow.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.dump; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.dump; - import java.io.*; import java.util.Arrays; import java.util.Comparator; diff --git a/core/src/main/java/com/devexperts/aprof/hotspot/CompileLogParser.java b/core/src/main/java/com/devexperts/aprof/hotspot/CompileLogParser.java index cd9ec5e..416a5c8 100644 --- a/core/src/main/java/com/devexperts/aprof/hotspot/CompileLogParser.java +++ b/core/src/main/java/com/devexperts/aprof/hotspot/CompileLogParser.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.hotspot; +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.*; import com.devexperts.aprof.*; diff --git a/core/src/main/java/com/devexperts/aprof/hotspot/CompileLogWatcher.java b/core/src/main/java/com/devexperts/aprof/hotspot/CompileLogWatcher.java index 2d78ef0..d861ebb 100644 --- a/core/src/main/java/com/devexperts/aprof/hotspot/CompileLogWatcher.java +++ b/core/src/main/java/com/devexperts/aprof/hotspot/CompileLogWatcher.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.hotspot; +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.File; import java.io.FilenameFilter; import java.lang.management.ManagementFactory; diff --git a/core/src/main/java/com/devexperts/aprof/hotspot/IdNamedIndex.java b/core/src/main/java/com/devexperts/aprof/hotspot/IdNamedIndex.java index 82a3868..5fccdb8 100644 --- a/core/src/main/java/com/devexperts/aprof/hotspot/IdNamedIndex.java +++ b/core/src/main/java/com/devexperts/aprof/hotspot/IdNamedIndex.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.hotspot; +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + /** * Pool and index of Klass or Method tags that are written to 'hotspot.log' as a part of compilation task. * diff --git a/core/src/main/java/com/devexperts/aprof/hotspot/IdNamedObject.java b/core/src/main/java/com/devexperts/aprof/hotspot/IdNamedObject.java index 03a0eff..1100119 100644 --- a/core/src/main/java/com/devexperts/aprof/hotspot/IdNamedObject.java +++ b/core/src/main/java/com/devexperts/aprof/hotspot/IdNamedObject.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.hotspot; +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + /** * Type, Klass and Method descriptions that are written to hotspot compilation log as a part of each compilation task. * diff --git a/core/src/main/java/com/devexperts/aprof/hotspot/Method.java b/core/src/main/java/com/devexperts/aprof/hotspot/Method.java index ff02190..7d733ff 100644 --- a/core/src/main/java/com/devexperts/aprof/hotspot/Method.java +++ b/core/src/main/java/com/devexperts/aprof/hotspot/Method.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.hotspot; +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + /** * Method tag from hotspot compilation log. For example: * "<method id='729' holder='646' name='indexOf' return='634' arguments='634 634' flags='1' bytes='70' iicount='3836'/>" diff --git a/core/src/main/java/com/devexperts/aprof/hotspot/Type.java b/core/src/main/java/com/devexperts/aprof/hotspot/Type.java index 8a3c960..3386470 100644 --- a/core/src/main/java/com/devexperts/aprof/hotspot/Type.java +++ b/core/src/main/java/com/devexperts/aprof/hotspot/Type.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.hotspot; +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + /** * Type or Klass tag from hotspot compilation log. For example: * "<type id='636' name='void'/>" or diff --git a/core/src/main/java/com/devexperts/aprof/util/FastArrayList.java b/core/src/main/java/com/devexperts/aprof/util/FastArrayList.java index 2d9a64e..9699b67 100644 --- a/core/src/main/java/com/devexperts/aprof/util/FastArrayList.java +++ b/core/src/main/java/com/devexperts/aprof/util/FastArrayList.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.util; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.util; - import com.devexperts.aprof.Internal; /** diff --git a/core/src/main/java/com/devexperts/aprof/util/FastByteBuffer.java b/core/src/main/java/com/devexperts/aprof/util/FastByteBuffer.java index 7150b75..7dd87b1 100644 --- a/core/src/main/java/com/devexperts/aprof/util/FastByteBuffer.java +++ b/core/src/main/java/com/devexperts/aprof/util/FastByteBuffer.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.util; +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.IOException; import java.io.InputStream; diff --git a/core/src/main/java/com/devexperts/aprof/util/FastFmtUtil.java b/core/src/main/java/com/devexperts/aprof/util/FastFmtUtil.java index be41cad..af27ee1 100644 --- a/core/src/main/java/com/devexperts/aprof/util/FastFmtUtil.java +++ b/core/src/main/java/com/devexperts/aprof/util/FastFmtUtil.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.util; +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + import java.io.PrintWriter; import java.text.SimpleDateFormat; import java.util.Date; diff --git a/core/src/main/java/com/devexperts/aprof/util/FastObjIntMap.java b/core/src/main/java/com/devexperts/aprof/util/FastObjIntMap.java index 7b9bfcb..6ebfa2c 100644 --- a/core/src/main/java/com/devexperts/aprof/util/FastObjIntMap.java +++ b/core/src/main/java/com/devexperts/aprof/util/FastObjIntMap.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.util; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.util; - import java.util.Arrays; /** diff --git a/core/src/main/java/com/devexperts/aprof/util/FastOutputStreamWriter.java b/core/src/main/java/com/devexperts/aprof/util/FastOutputStreamWriter.java index 3d10ded..18ed585 100644 --- a/core/src/main/java/com/devexperts/aprof/util/FastOutputStreamWriter.java +++ b/core/src/main/java/com/devexperts/aprof/util/FastOutputStreamWriter.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.util; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.util; - import java.io.*; /** diff --git a/core/src/main/java/com/devexperts/aprof/util/InnerJarClassLoader.java b/core/src/main/java/com/devexperts/aprof/util/InnerJarClassLoader.java index 4235284..e77cf82 100644 --- a/core/src/main/java/com/devexperts/aprof/util/InnerJarClassLoader.java +++ b/core/src/main/java/com/devexperts/aprof/util/InnerJarClassLoader.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.util; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.util; - import java.io.*; import java.net.URL; import java.net.URLClassLoader; diff --git a/core/src/main/java/com/devexperts/aprof/util/Log.java b/core/src/main/java/com/devexperts/aprof/util/Log.java index c80be25..c8ec458 100644 --- a/core/src/main/java/com/devexperts/aprof/util/Log.java +++ b/core/src/main/java/com/devexperts/aprof/util/Log.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.util; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.util; - import java.io.*; /** diff --git a/core/src/main/java/com/devexperts/aprof/util/QuickSort.java b/core/src/main/java/com/devexperts/aprof/util/QuickSort.java index 5577fd5..6ce55f3 100644 --- a/core/src/main/java/com/devexperts/aprof/util/QuickSort.java +++ b/core/src/main/java/com/devexperts/aprof/util/QuickSort.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.util; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.util; - import java.util.Comparator; /** diff --git a/core/src/main/java/com/devexperts/aprof/util/StringIndexer.java b/core/src/main/java/com/devexperts/aprof/util/StringIndexer.java index 895b653..5651e26 100644 --- a/core/src/main/java/com/devexperts/aprof/util/StringIndexer.java +++ b/core/src/main/java/com/devexperts/aprof/util/StringIndexer.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.util; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.util; - import com.devexperts.aprof.Internal; /** diff --git a/core/src/main/java/com/devexperts/aprof/util/UnsafeHolder.java b/core/src/main/java/com/devexperts/aprof/util/UnsafeHolder.java index e242816..f8fb874 100644 --- a/core/src/main/java/com/devexperts/aprof/util/UnsafeHolder.java +++ b/core/src/main/java/com/devexperts/aprof/util/UnsafeHolder.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.util; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.util; - import java.lang.reflect.Field; import sun.misc.Unsafe; diff --git a/core/src/test/java/com/devexperts/aprof/AProfPerfTest.java b/core/src/test/java/com/devexperts/aprof/AProfPerfTest.java index 5dc11ed..8d852f3 100644 --- a/core/src/test/java/com/devexperts/aprof/AProfPerfTest.java +++ b/core/src/test/java/com/devexperts/aprof/AProfPerfTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.io.*; /** diff --git a/core/src/test/java/com/devexperts/aprof/AProfTarget.java b/core/src/test/java/com/devexperts/aprof/AProfTarget.java index 84484d4..21e11f7 100644 --- a/core/src/test/java/com/devexperts/aprof/AProfTarget.java +++ b/core/src/test/java/com/devexperts/aprof/AProfTarget.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.awt.*; import java.io.*; import java.lang.reflect.Array; diff --git a/core/src/test/java/com/devexperts/aprof/AllocSpeedTest.java b/core/src/test/java/com/devexperts/aprof/AllocSpeedTest.java index d10822b..b9f1b97 100644 --- a/core/src/test/java/com/devexperts/aprof/AllocSpeedTest.java +++ b/core/src/test/java/com/devexperts/aprof/AllocSpeedTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.text.NumberFormat; import java.util.Locale; @@ -129,4 +133,4 @@ private void printCharResult(int size, int count, int chars, long time) { "(" + nf.format(1000L * chars / time) + " cps, " + nf.format(1000L * count / time) + " ops)"); } -} \ No newline at end of file +} diff --git a/core/src/test/java/com/devexperts/aprof/DupableObject.java b/core/src/test/java/com/devexperts/aprof/DupableObject.java index 8eaca68..74cac7f 100644 --- a/core/src/test/java/com/devexperts/aprof/DupableObject.java +++ b/core/src/test/java/com/devexperts/aprof/DupableObject.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.io.Serializable; /** diff --git a/core/src/test/java/com/devexperts/aprof/FastObjIntMapTest.java b/core/src/test/java/com/devexperts/aprof/FastObjIntMapTest.java index 3909331..4759617 100644 --- a/core/src/test/java/com/devexperts/aprof/FastObjIntMapTest.java +++ b/core/src/test/java/com/devexperts/aprof/FastObjIntMapTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import com.devexperts.aprof.util.FastObjIntMap; import junit.framework.TestCase; diff --git a/core/src/test/java/com/devexperts/aprof/IterationSpeedTest.java b/core/src/test/java/com/devexperts/aprof/IterationSpeedTest.java index 8a65a66..3145e60 100644 --- a/core/src/test/java/com/devexperts/aprof/IterationSpeedTest.java +++ b/core/src/test/java/com/devexperts/aprof/IterationSpeedTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.io.IOException; /** diff --git a/core/src/test/java/com/devexperts/aprof/MicroPerfTest.java b/core/src/test/java/com/devexperts/aprof/MicroPerfTest.java index 0743f1b..d7bb529 100644 --- a/core/src/test/java/com/devexperts/aprof/MicroPerfTest.java +++ b/core/src/test/java/com/devexperts/aprof/MicroPerfTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicLong; diff --git a/core/src/test/java/com/devexperts/aprof/QSortTest.java b/core/src/test/java/com/devexperts/aprof/QSortTest.java index 6044f72..0b426da 100644 --- a/core/src/test/java/com/devexperts/aprof/QSortTest.java +++ b/core/src/test/java/com/devexperts/aprof/QSortTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - import java.util.*; import com.devexperts.aprof.dump.SnapshotDeep; diff --git a/core/src/test/java/com/devexperts/aprof/TestClassNames.java b/core/src/test/java/com/devexperts/aprof/TestClassNames.java index 7154d2d..70ee53e 100644 --- a/core/src/test/java/com/devexperts/aprof/TestClassNames.java +++ b/core/src/test/java/com/devexperts/aprof/TestClassNames.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof; - /** * @author Roman Elizarov */ diff --git a/core/src/test/java/com/devexperts/sample/FibonacciNumbers.java b/core/src/test/java/com/devexperts/sample/FibonacciNumbers.java index c2173fb..72d3e4a 100644 --- a/core/src/test/java/com/devexperts/sample/FibonacciNumbers.java +++ b/core/src/test/java/com/devexperts/sample/FibonacciNumbers.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.sample; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.sample; - /** * @author Dmitry Paraschenko */ diff --git a/core/src/test/java/com/devexperts/util/InnerJarClassLoaderTest.java b/core/src/test/java/com/devexperts/util/InnerJarClassLoaderTest.java index 50a4784..10a132d 100644 --- a/core/src/test/java/com/devexperts/util/InnerJarClassLoaderTest.java +++ b/core/src/test/java/com/devexperts/util/InnerJarClassLoaderTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.util; + +/*- + * #%L + * Aprof Core + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.util; - import java.io.File; import java.io.IOException; diff --git a/pom.xml b/pom.xml index 597ddaf..3b5bfa2 100644 --- a/pom.xml +++ b/pom.xml @@ -1,21 +1,3 @@ - - 4.0.0 @@ -26,27 +8,21 @@ Aprof Java Memory Allocation Profiler - http://code.devexperts.com/display/Aprof + 2002 + + Devexperts, LLC + http://www.devexperts.com/ + + UTF-8 UTF-8 + gpl_v3 + 2017 - - scm:git:https://github.com/Devexperts/aprof.git - scm:git:file:///C:\Projects\aprof - - - - - bintray-devexperts - devexperts-maven-aprof - https://api.bintray.com/maven/devexperts/Maven/aprof - - - transformer core @@ -78,6 +54,40 @@ false + + + + com.devexperts.bintray + bintray-maven-plugin + + bintray-devexperts + https://api.bintray.com/maven/devexperts/Maven/aprof + + + + bintray-deploy + + deploy + publish + + + + + + org.codehaus.mojo + license-maven-plugin + + + check-headers + + check-file-header + + package + + + + + @@ -99,6 +109,31 @@ 1.5 + + org.apache.maven.plugins + maven-jar-plugin + + + + Copyright (C) ${project.inceptionYear} - ${lastCopyrightYear} Devexperts, LLC + + + + + + + org.codehaus.mojo + license-maven-plugin + + + check-headers + + update-file-header + + process-sources + + + maven-release-plugin @@ -134,9 +169,6 @@ - - 3.0.4 - true true @@ -174,7 +206,7 @@ maven-release-plugin - 2.2.1 + 2.5.3 maven-deploy-plugin @@ -197,11 +229,48 @@ 1.0.1 + license-maven-plugin + 1.10 + + org.codehaus.plexus plexus-maven-plugin 1.3.8 + + com.devexperts.bintray + bintray-maven-plugin + 1.3 + + + + scm:git:https://github.com/Devexperts/aprof.git + scm:git:ssh://stash.in.devexperts.com:7999/dxlab/aprof.git + + + + + jrc + https://maven.in.devexperts.com/content/repositories/jrc + + + jrc-snapshot + https://maven.in.devexperts.com/content/repositories/jrc-snapshot + + + + + + + false + + bintray-devexperts-Maven + bintray-plugins + http://dl.bintray.com/devexperts/Maven + + + diff --git a/selftest/pom.xml b/selftest/pom.xml index b2ae8ea..371836d 100644 --- a/selftest/pom.xml +++ b/selftest/pom.xml @@ -1,21 +1,3 @@ - - 4.0.0 diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/ArrayNewInstanceTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/ArrayNewInstanceTest.java index 23badc0..969f0bc 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/ArrayNewInstanceTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/ArrayNewInstanceTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import java.lang.reflect.Array; import com.devexperts.aprof.AProfSizeUtil; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/ArraySizeTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/ArraySizeTest.java index 84bd730..9475e52 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/ArraySizeTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/ArraySizeTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import java.util.*; import com.devexperts.aprof.AProfSizeUtil; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/CloneTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/CloneTest.java index d17d1ca..cb92d6f 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/CloneTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/CloneTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import com.devexperts.aprof.AProfSizeUtil; import com.devexperts.aprof.Configuration; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/DeserializationTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/DeserializationTest.java index af54627..173c0da 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/DeserializationTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/DeserializationTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import java.io.*; import java.util.ArrayList; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/DoubleTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/DoubleTest.java index 853111c..4063c7a 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/DoubleTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/DoubleTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import com.devexperts.aprof.AProfSizeUtil; import com.devexperts.aprof.Configuration; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/EnhancedForLoopTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/EnhancedForLoopTest.java index 54360fc..008c8ac 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/EnhancedForLoopTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/EnhancedForLoopTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import com.devexperts.aprof.AProfSizeUtil; import com.devexperts.aprof.Configuration; import com.devexperts.aprof.util.UnsafeHolder; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/IntegerTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/IntegerTest.java index 77a122e..e92a98e 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/IntegerTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/IntegerTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import com.devexperts.aprof.AProfSizeUtil; import com.devexperts.aprof.Configuration; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/NewTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/NewTest.java index 9711002..dbd5aca 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/NewTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/NewTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import com.devexperts.aprof.AProfSizeUtil; import com.devexperts.aprof.Configuration; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/ObjectArrayCopyTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/ObjectArrayCopyTest.java index e149e5f..e77aba9 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/ObjectArrayCopyTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/ObjectArrayCopyTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import java.util.Arrays; import com.devexperts.aprof.AProfSizeUtil; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/ReflectionTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/ReflectionTest.java index cef1cb2..e3fdcd2 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/ReflectionTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/ReflectionTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import java.lang.reflect.Constructor; import com.devexperts.aprof.AProfSizeUtil; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/StringTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/StringTest.java index f6a3f70..21b53e5 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/StringTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/StringTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import com.devexperts.aprof.AProfSizeUtil; import com.devexperts.aprof.Configuration; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/TestCase.java b/selftest/src/main/java/com/devexperts/aprof/selftest/TestCase.java index 5f4a14d..1c8206a 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/TestCase.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/TestCase.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import com.devexperts.aprof.Configuration; /** diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/TestSuite.java b/selftest/src/main/java/com/devexperts/aprof/selftest/TestSuite.java index efc3f7b..fa96842 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/TestSuite.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/TestSuite.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import com.devexperts.aprof.AProfAgent; import com.devexperts.aprof.AProfTools; import com.devexperts.aprof.Configuration; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/TestUtil.java b/selftest/src/main/java/com/devexperts/aprof/selftest/TestUtil.java index 6f1f8aa..51f30bf 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/TestUtil.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/TestUtil.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import java.text.NumberFormat; import java.util.*; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingDeepTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingDeepTest.java index 1c0b5b6..ed560dc 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingDeepTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingDeepTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import com.devexperts.aprof.AProfSizeUtil; import com.devexperts.aprof.Configuration; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingIntf.java b/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingIntf.java index a728d71..44651f9 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingIntf.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingIntf.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.selftest; +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + /** * @author Roman Elizarov */ diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingIntfTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingIntfTest.java index 0632365..993cb4d 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingIntfTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingIntfTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import com.devexperts.aprof.AProfSizeUtil; import com.devexperts.aprof.Configuration; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingIntfTrackedImpl.java b/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingIntfTrackedImpl.java index 45d6f58..ccf2959 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingIntfTrackedImpl.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingIntfTrackedImpl.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.selftest; +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + /** * @author Roman Elizarov */ diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingTest.java index 2673fc3..d4b738e 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/TrackingTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import com.devexperts.aprof.AProfSizeUtil; import com.devexperts.aprof.Configuration; diff --git a/selftest/src/main/java/com/devexperts/aprof/selftest/TryTest.java b/selftest/src/main/java/com/devexperts/aprof/selftest/TryTest.java index 6448905..eceda25 100644 --- a/selftest/src/main/java/com/devexperts/aprof/selftest/TryTest.java +++ b/selftest/src/main/java/com/devexperts/aprof/selftest/TryTest.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.selftest; + +/*- + * #%L + * Aprof Integration tests (selftest) + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.selftest; - import com.devexperts.aprof.AProfSizeUtil; import com.devexperts.aprof.Configuration; diff --git a/transformer/pom.xml b/transformer/pom.xml index 9b6109b..c01a061 100644 --- a/transformer/pom.xml +++ b/transformer/pom.xml @@ -1,21 +1,3 @@ - - 4.0.0 diff --git a/transformer/src/main/java/com/devexperts/aprof/transformer/AProfTransformer.java b/transformer/src/main/java/com/devexperts/aprof/transformer/AProfTransformer.java index 213701f..bae45ea 100644 --- a/transformer/src/main/java/com/devexperts/aprof/transformer/AProfTransformer.java +++ b/transformer/src/main/java/com/devexperts/aprof/transformer/AProfTransformer.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.transformer; + +/*- + * #%L + * Aprof Transformer + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.transformer; - import com.devexperts.aprof.AProfRegistry; import com.devexperts.aprof.Configuration; import com.devexperts.aprof.LocationStack; diff --git a/transformer/src/main/java/com/devexperts/aprof/transformer/AbstractMethodVisitor.java b/transformer/src/main/java/com/devexperts/aprof/transformer/AbstractMethodVisitor.java index 5c4b7b7..d409f24 100644 --- a/transformer/src/main/java/com/devexperts/aprof/transformer/AbstractMethodVisitor.java +++ b/transformer/src/main/java/com/devexperts/aprof/transformer/AbstractMethodVisitor.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.transformer; + +/*- + * #%L + * Aprof Transformer + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.transformer; - import com.devexperts.aprof.AProfRegistry; import org.objectweb.asm.MethodVisitor; import org.objectweb.asm.Opcodes; diff --git a/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfo.java b/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfo.java index 28f5d51..d66e8c3 100644 --- a/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfo.java +++ b/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfo.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.transformer; + +/*- + * #%L + * Aprof Transformer + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.transformer; - import java.util.*; import org.objectweb.asm.Opcodes; diff --git a/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfoCache.java b/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfoCache.java index f8801c4..7004c6b 100644 --- a/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfoCache.java +++ b/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfoCache.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.transformer; +/*- + * #%L + * Aprof Transformer + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + import com.devexperts.aprof.Configuration; import com.devexperts.aprof.util.Log; import org.objectweb.asm.ClassReader; diff --git a/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfoMap.java b/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfoMap.java index de6645f..b0fe760 100644 --- a/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfoMap.java +++ b/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfoMap.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.transformer; +/*- + * #%L + * Aprof Transformer + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + import java.util.HashMap; import java.util.Map; diff --git a/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfoVisitor.java b/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfoVisitor.java index c577026..26822fe 100644 --- a/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfoVisitor.java +++ b/transformer/src/main/java/com/devexperts/aprof/transformer/ClassInfoVisitor.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.transformer; +/*- + * #%L + * Aprof Transformer + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + import java.util.*; import org.objectweb.asm.*; diff --git a/transformer/src/main/java/com/devexperts/aprof/transformer/Context.java b/transformer/src/main/java/com/devexperts/aprof/transformer/Context.java index 7bf81c7..aa4e2d0 100644 --- a/transformer/src/main/java/com/devexperts/aprof/transformer/Context.java +++ b/transformer/src/main/java/com/devexperts/aprof/transformer/Context.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.transformer; + +/*- + * #%L + * Aprof Transformer + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.transformer; - import java.util.Set; import com.devexperts.aprof.*; diff --git a/transformer/src/main/java/com/devexperts/aprof/transformer/MethodAnalyzer.java b/transformer/src/main/java/com/devexperts/aprof/transformer/MethodAnalyzer.java index 7b3929e..d5c75de 100644 --- a/transformer/src/main/java/com/devexperts/aprof/transformer/MethodAnalyzer.java +++ b/transformer/src/main/java/com/devexperts/aprof/transformer/MethodAnalyzer.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.transformer; + +/*- + * #%L + * Aprof Transformer + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.transformer; - import org.objectweb.asm.commons.GeneratorAdapter; /** diff --git a/transformer/src/main/java/com/devexperts/aprof/transformer/MethodTransformer.java b/transformer/src/main/java/com/devexperts/aprof/transformer/MethodTransformer.java index 04b1460..c0a5b63 100644 --- a/transformer/src/main/java/com/devexperts/aprof/transformer/MethodTransformer.java +++ b/transformer/src/main/java/com/devexperts/aprof/transformer/MethodTransformer.java @@ -1,23 +1,27 @@ -/* - * Aprof - Java Memory Allocation Profiler - * Copyright (C) 2002-2014 Devexperts LLC - * +package com.devexperts.aprof.transformer; + +/*- + * #%L + * Aprof Transformer + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% */ -package com.devexperts.aprof.transformer; - import com.devexperts.aprof.AProfRegistry; import com.devexperts.aprof.LocationStack; import org.objectweb.asm.Label; diff --git a/transformer/src/main/java/com/devexperts/aprof/transformer/TransformerUtil.java b/transformer/src/main/java/com/devexperts/aprof/transformer/TransformerUtil.java index 835c6d9..80abb4c 100644 --- a/transformer/src/main/java/com/devexperts/aprof/transformer/TransformerUtil.java +++ b/transformer/src/main/java/com/devexperts/aprof/transformer/TransformerUtil.java @@ -1,5 +1,27 @@ package com.devexperts.aprof.transformer; +/*- + * #%L + * Aprof Transformer + * %% + * Copyright (C) 2002 - 2017 Devexperts, LLC + * %% + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public + * License along with this program. If not, see + * . + * #L% + */ + import org.objectweb.asm.Opcodes; class TransformerUtil {