Skip to content

Commit d3c17d4

Browse files
author
Nikita Koval
committed
* Use license-maven-plugin
* Add deployment to local repository
1 parent 54b2626 commit d3c17d4

File tree

93 files changed

+1685
-998
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+1685
-998
lines changed

NOTICE

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Aprof - Java Memory Allocation Profiler
2-
Copyright (C) 2002-2014 Devexperts LLC
2+
Copyright (C) 2002-2017 Devexperts LLC
33

44
This product is developed at Devexperts LLC (http://devexperts.com/).
55
Licensed under the GNU General Public License, Version 3.
@@ -28,7 +28,7 @@ Copyright (C) 2002-2012 Devexperts LLC
2828
The class is licensed under the Mozilla Public License, Version 2.0.
2929

3030
This product includes software developed at The OW2 Consortium (http://asm.objectweb.org/).
31-
Copyright (c) 2000-2005 INRIA, France Telecom.
31+
Copyright (c) 2000-2011 INRIA, France Telecom.
3232
Licensed under the Modified BSD License.
3333
Full text of the licence can be found in the LICENSE.asm file.
3434

agent/pom.xml

-18
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
<!--
2-
~ Aprof - Java Memory Allocation Profiler
3-
~ Copyright (C) 2002-2014 Devexperts LLC
4-
~
5-
~ This program is free software: you can redistribute it and/or modify
6-
~ it under the terms of the GNU General Public License as published by
7-
~ the Free Software Foundation, either version 3 of the License, or
8-
~ (at your option) any later version.
9-
~
10-
~ This program is distributed in the hope that it will be useful,
11-
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
~ GNU General Public License for more details.
14-
~
15-
~ You should have received a copy of the GNU General Public License
16-
~ along with this program. If not, see <http://www.gnu.org/licenses />.
17-
-->
18-
191
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
202
<modelVersion>4.0.0</modelVersion>
213

agent/src/assembly/bin.xml

+19-15
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,23 @@
11
<!--
2-
~ Aprof - Java Memory Allocation Profiler
3-
~ Copyright (C) 2002-2014 Devexperts LLC
4-
~
5-
~ This program is free software: you can redistribute it and/or modify
6-
~ it under the terms of the GNU General Public License as published by
7-
~ the Free Software Foundation, either version 3 of the License, or
8-
~ (at your option) any later version.
9-
~
10-
~ This program is distributed in the hope that it will be useful,
11-
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
~ GNU General Public License for more details.
14-
~
15-
~ You should have received a copy of the GNU General Public License
16-
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
2+
#%L
3+
Aprof Agent
4+
%%
5+
Copyright (C) 2002 - 2017 Devexperts, LLC
6+
%%
7+
This program is free software: you can redistribute it and/or modify
8+
it under the terms of the GNU General Public License as
9+
published by the Free Software Foundation, either version 3 of the
10+
License, or (at your option) any later version.
11+
12+
This program is distributed in the hope that it will be useful,
13+
but WITHOUT ANY WARRANTY; without even the implied warranty of
14+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15+
GNU General Public License for more details.
16+
17+
You should have received a copy of the GNU General Public
18+
License along with this program. If not, see
19+
<http://www.gnu.org/licenses/gpl-3.0.html>.
20+
#L%
1721
-->
1822

1923
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"

benchmark/src/main/java/com/devexperts/aprof/benchmark/BenchmarkEscapeAnalysis.java

+17-13
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
1-
/*
2-
* Aprof - Java Memory Allocation Profiler
3-
* Copyright (C) 2002-2014 Devexperts LLC
4-
*
1+
package com.devexperts.aprof.benchmark;
2+
3+
/*-
4+
* #%L
5+
* JMH benchmarks
6+
* %%
7+
* Copyright (C) 2002 - 2017 Devexperts, LLC
8+
* %%
59
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
9-
*
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 3 of the
12+
* License, or (at your option) any later version.
13+
*
1014
* This program is distributed in the hope that it will be useful,
1115
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1216
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1317
* GNU General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-3.0.html>.
22+
* #L%
1723
*/
1824

19-
package com.devexperts.aprof.benchmark;
20-
2125
import org.openjdk.jmh.annotations.GenerateMicroBenchmark;
2226

2327
public class BenchmarkEscapeAnalysis {

benchmark/src/main/java/com/devexperts/aprof/benchmark/BenchmarkIO.java

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
package com.devexperts.aprof.benchmark;
22

3+
/*-
4+
* #%L
5+
* JMH benchmarks
6+
* %%
7+
* Copyright (C) 2002 - 2017 Devexperts, LLC
8+
* %%
9+
* This program is free software: you can redistribute it and/or modify
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 3 of the
12+
* License, or (at your option) any later version.
13+
*
14+
* This program is distributed in the hope that it will be useful,
15+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17+
* GNU General Public License for more details.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-3.0.html>.
22+
* #L%
23+
*/
24+
325
import java.io.*;
426

527
import org.openjdk.jmh.annotations.*;

benchmark/src/main/java/com/devexperts/aprof/benchmark/BenchmarkPrimitives.java

+17-13
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
1-
/*
2-
* Aprof - Java Memory Allocation Profiler
3-
* Copyright (C) 2002-2014 Devexperts LLC
4-
*
1+
package com.devexperts.aprof.benchmark;
2+
3+
/*-
4+
* #%L
5+
* JMH benchmarks
6+
* %%
7+
* Copyright (C) 2002 - 2017 Devexperts, LLC
8+
* %%
59
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
9-
*
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 3 of the
12+
* License, or (at your option) any later version.
13+
*
1014
* This program is distributed in the hope that it will be useful,
1115
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1216
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1317
* GNU General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-3.0.html>.
22+
* #L%
1723
*/
1824

19-
package com.devexperts.aprof.benchmark;
20-
2125
import org.openjdk.jmh.annotations.GenerateMicroBenchmark;
2226

2327
public class BenchmarkPrimitives {

core/pom.xml

-18
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
<!--
2-
~ Aprof - Java Memory Allocation Profiler
3-
~ Copyright (C) 2002-2014 Devexperts LLC
4-
~
5-
~ This program is free software: you can redistribute it and/or modify
6-
~ it under the terms of the GNU General Public License as published by
7-
~ the Free Software Foundation, either version 3 of the License, or
8-
~ (at your option) any later version.
9-
~
10-
~ This program is distributed in the hope that it will be useful,
11-
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
12-
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13-
~ GNU General Public License for more details.
14-
~
15-
~ You should have received a copy of the GNU General Public License
16-
~ along with this program. If not, see <http://www.gnu.org/licenses />.
17-
-->
18-
191
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
202
<modelVersion>4.0.0</modelVersion>
213

core/src/main/java/com/devexperts/aprof/AProfAgent.java

+17-13
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
1-
/*
2-
* Aprof - Java Memory Allocation Profiler
3-
* Copyright (C) 2002-2014 Devexperts LLC
4-
*
1+
package com.devexperts.aprof;
2+
3+
/*-
4+
* #%L
5+
* Aprof Core
6+
* %%
7+
* Copyright (C) 2002 - 2017 Devexperts, LLC
8+
* %%
59
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
9-
*
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 3 of the
12+
* License, or (at your option) any later version.
13+
*
1014
* This program is distributed in the hope that it will be useful,
1115
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1216
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1317
* GNU General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-3.0.html>.
22+
* #L%
1723
*/
1824

19-
package com.devexperts.aprof;
20-
2125
import java.io.*;
2226
import java.lang.instrument.*;
2327
import java.lang.reflect.Constructor;

core/src/main/java/com/devexperts/aprof/AProfOps.java

+17-13
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
1-
/*
2-
* Aprof - Java Memory Allocation Profiler
3-
* Copyright (C) 2002-2014 Devexperts LLC
4-
*
1+
package com.devexperts.aprof;
2+
3+
/*-
4+
* #%L
5+
* Aprof Core
6+
* %%
7+
* Copyright (C) 2002 - 2017 Devexperts, LLC
8+
* %%
59
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
9-
*
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 3 of the
12+
* License, or (at your option) any later version.
13+
*
1014
* This program is distributed in the hope that it will be useful,
1115
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1216
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1317
* GNU General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-3.0.html>.
22+
* #L%
1723
*/
1824

19-
package com.devexperts.aprof;
20-
2125
import java.lang.reflect.Array;
2226

2327
import static com.devexperts.aprof.AProfRegistry.*;

core/src/main/java/com/devexperts/aprof/AProfOpsInternal.java

+17-13
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
1-
/*
2-
* Aprof - Java Memory Allocation Profiler
3-
* Copyright (C) 2002-2014 Devexperts LLC
4-
*
1+
package com.devexperts.aprof;
2+
3+
/*-
4+
* #%L
5+
* Aprof Core
6+
* %%
7+
* Copyright (C) 2002 - 2017 Devexperts, LLC
8+
* %%
59
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
9-
*
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 3 of the
12+
* License, or (at your option) any later version.
13+
*
1014
* This program is distributed in the hope that it will be useful,
1115
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1216
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1317
* GNU General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-3.0.html>.
22+
* #L%
1723
*/
1824

19-
package com.devexperts.aprof;
20-
2125
import static com.devexperts.aprof.AProfRegistry.getRootIndex;
2226
import static com.devexperts.aprof.AProfSizeUtil.*;
2327

core/src/main/java/com/devexperts/aprof/AProfRegistry.java

+17-13
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,27 @@
1-
/*
2-
* Aprof - Java Memory Allocation Profiler
3-
* Copyright (C) 2002-2014 Devexperts LLC
4-
*
1+
package com.devexperts.aprof;
2+
3+
/*-
4+
* #%L
5+
* Aprof Core
6+
* %%
7+
* Copyright (C) 2002 - 2017 Devexperts, LLC
8+
* %%
59
* This program is free software: you can redistribute it and/or modify
6-
* it under the terms of the GNU General Public License as published by
7-
* the Free Software Foundation, either version 3 of the License, or
8-
* (at your option) any later version.
9-
*
10+
* it under the terms of the GNU General Public License as
11+
* published by the Free Software Foundation, either version 3 of the
12+
* License, or (at your option) any later version.
13+
*
1014
* This program is distributed in the hope that it will be useful,
1115
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1216
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1317
* GNU General Public License for more details.
14-
*
15-
* You should have received a copy of the GNU General Public License
16-
* along with this program. If not, see <http://www.gnu.org/licenses/>.
18+
*
19+
* You should have received a copy of the GNU General Public
20+
* License along with this program. If not, see
21+
* <http://www.gnu.org/licenses/gpl-3.0.html>.
22+
* #L%
1723
*/
1824

19-
package com.devexperts.aprof;
20-
2125
import java.util.concurrent.atomic.AtomicInteger;
2226
import java.util.concurrent.atomic.AtomicLong;
2327

0 commit comments

Comments
 (0)