Skip to content

Commit

Permalink
Fix Copyright notices
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Young <[email protected]>
  • Loading branch information
youngar committed Aug 28, 2017
1 parent ca25396 commit 90414c4
Show file tree
Hide file tree
Showing 17 changed files with 73 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
###############################################################################
#
# (c) Copyright IBM Corp. 2016
# (c) Copyright IBM Corp. 2016, 2017
#
# This program and the accompanying materials are made available
# under the terms of the Eclipse Public License v1.0 and
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
###############################################################################
#
# (c) Copyright IBM Corp. 2015, 2016
# (c) Copyright IBM Corp. 2015, 2017
#
# This program and the accompanying materials are made available
# under the terms of the Eclipse Public License v1.0 and
Expand Down
20 changes: 19 additions & 1 deletion doc/Valgrind Memcheck API.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,20 @@
<!--
(c) Copyright IBM Corp. 2017, 2017
This program and the accompanying materials are made available
under the terms of the Eclipse Public License v1.0 and
Apache License v2.0 which accompanies this distribution.
The Eclipse Public License is available at
http://www.eclipse.org/legal/epl-v10.html
The Apache License v2.0 is available at
http://www.opensource.org/licenses/apache2.0.php
Contributors:
Varun Garg - initial implementation and documentation
-->

# Valgrind Memchek API

## About Memcheck
Expand Down Expand Up @@ -101,4 +118,5 @@ Valgrind can be hooked with gdb. Not all gdb commands are supported (example run

5. `monitor leak_check` run this to get valgrind leak summary of program at the moment.

5. `monitor v.kill` this command will kill valgrind vgdb process.
6. `monitor v.kill` this command will kill valgrind vgdb process.

2 changes: 1 addition & 1 deletion gc/base/AllocateInitialization.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*******************************************************************************
*
* (c) Copyright IBM Corp. 1991, 2015
* (c) Copyright IBM Corp. 1991, 2017
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 and
Expand Down
4 changes: 2 additions & 2 deletions gc/base/HeapLinkedFreeHeader.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*******************************************************************************
*
* (c) Copyright IBM Corp. 1991, 2016
* (c) Copyright IBM Corp. 1991, 2017
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 and
Expand Down Expand Up @@ -292,4 +292,4 @@
#undef SPLIT_NEXT_POINTER

#endif /* HEAPLINKEDFREEHEADER_HPP_ */


2 changes: 1 addition & 1 deletion gc/base/HeapMap.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*******************************************************************************
*
* (c) Copyright IBM Corp. 1991, 2016
* (c) Copyright IBM Corp. 1991, 2017
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 and
Expand Down
2 changes: 1 addition & 1 deletion gc/base/HeapVirtualMemory.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*******************************************************************************
*
* (c) Copyright IBM Corp. 1991, 2015
* (c) Copyright IBM Corp. 1991, 2017
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 and
Expand Down
25 changes: 20 additions & 5 deletions gc/base/MemcheckWrapper.cpp
Original file line number Diff line number Diff line change
@@ -1,10 +1,25 @@
/*
* Wrapper for communication between valgrind and GC.
* Refer MemcheckWrapper for docs.
/*******************************************************************************
*
* (c) Copyright IBM Corp. 2017, 2017
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 and
* Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* The Apache License v2.0 is available at
* http://www.opensource.org/licenses/apache2.0.php
*
* Contributor:
* Contributors:
* Varun Garg - initial implementation and documentation
******************************************************************************/

/*
* Wrapper for communication between valgrind and GC.
*/

#include "MemcheckWrapper.hpp"
#include "GCExtensionsBase.hpp"

Expand Down Expand Up @@ -111,4 +126,4 @@ void valgrindFreeObject(MM_GCExtensionsBase *extensions, uintptr_t baseAddress)
bool valgrindCheckObjectInPool(MM_GCExtensionsBase *extensions, uintptr_t baseAddress)
{
return (extensions->_allocatedObjects.find(baseAddress) != extensions->_allocatedObjects.end());
}
}
23 changes: 19 additions & 4 deletions gc/base/MemcheckWrapper.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
/*******************************************************************************
*
* (c) Copyright IBM Corp. 2017, 2017
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 and
* Apache License v2.0 which accompanies this distribution.
*
* The Eclipse Public License is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* The Apache License v2.0 is available at
* http://www.opensource.org/licenses/apache2.0.php
*
* Contributors:
* Varun Garg - initial implementation and documentation
******************************************************************************/

/*
* Wrapper for communication between valgrind and GC.
*
* Contributor:
* Varun Garg - initial implementation and documentation
*/

#ifndef _MEMCHECK_WRAPPER_H_
Expand Down Expand Up @@ -95,4 +110,4 @@ void valgrindFreeObject(MM_GCExtensionsBase *extensions, uintptr_t baseAddress);
*/
bool valgrindCheckObjectInPool(MM_GCExtensionsBase *extensions, uintptr_t baseAddress);

#endif /* _MEMCHECK_WRAPPER_H_ */
#endif /* _MEMCHECK_WRAPPER_H_ */
2 changes: 1 addition & 1 deletion gc/base/MemoryManager.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*******************************************************************************
*
* (c) Copyright IBM Corp. 1991, 2016
* (c) Copyright IBM Corp. 1991, 2017
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 and
Expand Down
2 changes: 1 addition & 1 deletion gc/base/MemoryPoolAddressOrderedListBase.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*******************************************************************************
*
* (c) Copyright IBM Corp. 1991, 2015
* (c) Copyright IBM Corp. 1991, 2017
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 and
Expand Down
2 changes: 1 addition & 1 deletion gc/base/MemorySubSpaceSemiSpace.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*******************************************************************************
*
* (c) Copyright IBM Corp. 1991, 2016
* (c) Copyright IBM Corp. 1991, 2017
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 and
Expand Down
2 changes: 1 addition & 1 deletion gc/base/ObjectHeapIteratorAddressOrderedList.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*******************************************************************************
*
* (c) Copyright IBM Corp. 1991, 2015
* (c) Copyright IBM Corp. 1991, 2017
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 and
Expand Down
2 changes: 1 addition & 1 deletion gc/base/SweepPoolManagerAddressOrderedListBase.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*******************************************************************************
*
* (c) Copyright IBM Corp. 1991, 2015
* (c) Copyright IBM Corp. 1991, 2017
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 and
Expand Down
2 changes: 1 addition & 1 deletion gc/structs/ForwardedHeader.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*******************************************************************************
*
* (c) Copyright IBM Corp. 2015, 2016
* (c) Copyright IBM Corp. 2015, 2017
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 and
Expand Down
2 changes: 1 addition & 1 deletion include_core/omrcfg.h.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*******************************************************************************
*
* (c) Copyright IBM Corp. 2015, 2016
* (c) Copyright IBM Corp. 2015, 2017
*
* This program and the accompanying materials are made available
* under the terms of the Eclipse Public License v1.0 and
Expand Down
2 changes: 1 addition & 1 deletion omrmakefiles/configure.mk.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
###############################################################################
#
# (c) Copyright IBM Corp. 2015, 2016
# (c) Copyright IBM Corp. 2015, 2017
#
# This program and the accompanying materials are made available
# under the terms of the Eclipse Public License v1.0 and
Expand Down

0 comments on commit 90414c4

Please sign in to comment.